Skip to content

Set rollout

Set rollout #666

Workflow file for this run

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