Skip to content

Commit

Permalink
fix: set new rollout actions (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melisa Anabella Rossi authored Dec 12, 2023
1 parent 45ab7f1 commit f84c7a2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/set-rollout-manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

Expand All @@ -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 }}
10 changes: 6 additions & 4 deletions .github/workflows/set-rollout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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 }}

Expand All @@ -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

0 comments on commit f84c7a2

Please sign in to comment.