-
Notifications
You must be signed in to change notification settings - Fork 9
44 lines (36 loc) · 1.45 KB
/
set-rollout.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Set rollout
on: [deployment_status]
jobs:
set-rollout:
if: ${{ github.event.deployment.task == 'upload-to-cdn' && github.event.deployment_status.state == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: hmarr/debug-action@v2
- name: set-rollout-zone
uses: decentraland/set-rollout-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Repo deployment info
ref: ${{ github.event.deployment.ref }}
sha: ${{ github.event.deployment.sha }}
# CDN information
packageName: ${{ github.event.deployment.payload.packageName }}
packageVersion: ${{ github.event.deployment.payload.packageVersion }}
# Rollout information
deploymentDomain: 'wearable-preview.decentraland.zone'
deploymentName: '_site'
percentage: 100
- name: set-rollout-today
uses: decentraland/set-rollout-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Repo deployment info
ref: ${{ github.event.deployment.ref }}
sha: ${{ github.event.deployment.sha }}
# CDN information
packageName: ${{ github.event.deployment.payload.packageName }}
packageVersion: ${{ github.event.deployment.payload.packageVersion }}
# Rollout information
deploymentDomain: 'wearable-preview.decentraland.today'
deploymentName: '_site'
percentage: 100