Skip to content

Set delivery rollout #1090

Set delivery rollout

Set delivery rollout #1090

Workflow file for this run

name: Set delivery rollout
on: [deployment_status]
jobs:
set-rollout-zone:
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: "play.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: "play.decentraland.today"
deploymentName: "_site"
percentage: 100
- name: set-rollout-org
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: "play.decentraland.org"
deploymentName: "_site"
percentage: 100