-
Notifications
You must be signed in to change notification settings - Fork 12
48 lines (43 loc) · 1.29 KB
/
set-rollout-manual.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Set rollout - Manual
on:
workflow_dispatch:
inputs:
packageVersion:
description: 'NPM Version of the release (@dcl/wearable-preview)'
required: true
default: ''
deploymentDomain:
type: 'choice'
description: 'Deployment domain'
required: true
default: '.zone'
options:
- .zone
- .today
- .org
rolloutPercentage:
description: 'The percentage for this rollout'
required: true
default: '100'
jobs:
set-manual-rollout:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./webapp
steps:
- uses: hmarr/debug-action@v2
- name: Set Rollout
uses: decentraland/set-rollout-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Repo deployment info
ref: ${{ github.event.ref }}
sha: ${{ github.sha }}
# CDN information
packageName: '@dcl/wearable-preview'
packageVersion: ${{ github.event.inputs.packageVersion }}
# Rollout information
deploymentDomain: wearable-preview.decentraland${{ github.event.inputs.deploymentDomain }}
deploymentName: '_site'
percentage: ${{ github.event.inputs.rolloutPercentage }}