Set rollout by path #7352
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
defaults: | |
run: | |
working-directory: ./webapp | |
steps: | |
- uses: hmarr/debug-action@v2 | |
# Dev | |
- name: Set Rollout - Development | |
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: "market.decentraland.zone" | |
deploymentName: "_site" | |
percentage: 100 | |
# Stg | |
- name: Set Rollout - Staging | |
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: "market.decentraland.today" | |
deploymentName: "_site" | |
percentage: 100 |