diff --git a/.github/workflows/set-rollout-manual.yaml b/.github/workflows/set-rollout-manual.yaml index c2954df..d844ada 100644 --- a/.github/workflows/set-rollout-manual.yaml +++ b/.github/workflows/set-rollout-manual.yaml @@ -7,15 +7,15 @@ on: description: 'NPM Version of the release (@dcl/auth-site)' required: true default: '' - deploymentDomain: + deploymentEnvironment: type: 'choice' - description: 'Deployment domain' + description: 'Deployment environment' required: true - default: '.zone' + default: 'zone' options: - - .zone - - .today - - .org + - zone + - today + - org rolloutPercentage: description: 'The percentage for this rollout' required: true @@ -27,7 +27,7 @@ jobs: steps: - uses: hmarr/debug-action@v2 - name: Set Rollout - uses: decentraland/set-rollout-action@main + uses: decentraland/set-rollout-action@v2 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -40,6 +40,7 @@ jobs: packageVersion: ${{ github.event.inputs.packageVersion }} # Rollout information - deploymentDomain: auth.decentraland${{ github.event.inputs.deploymentDomain }} + deploymentPath: 'auth' + deploymentEnvironment: ${{ github.event.inputs.deploymentEnvironment }} deploymentName: '_site' percentage: ${{ github.event.inputs.rolloutPercentage }} diff --git a/.github/workflows/set-rollout.yaml b/.github/workflows/set-rollout.yaml index bf14d22..6557a53 100644 --- a/.github/workflows/set-rollout.yaml +++ b/.github/workflows/set-rollout.yaml @@ -11,7 +11,7 @@ jobs: # Dev - name: Set Rollout - Development - uses: decentraland/set-rollout-action@main + uses: decentraland/set-rollout-action@v2 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -24,13 +24,14 @@ jobs: packageVersion: ${{ github.event.deployment.payload.packageVersion }} # Rollout information - deploymentDomain: 'auth.decentraland.zone' + deploymentPath: 'auth' + deploymentEnvironment: 'zone' deploymentName: '_site' percentage: 100 # Stg - name: Set Rollout - Staging - uses: decentraland/set-rollout-action@main + uses: decentraland/set-rollout-action@v2 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -43,6 +44,7 @@ jobs: packageVersion: ${{ github.event.deployment.payload.packageVersion }} # Rollout information - deploymentDomain: 'auth.decentraland.today' + deploymentPath: 'auth' + deploymentEnvironment: 'today' deploymentName: '_site' percentage: 100