File tree Expand file tree Collapse file tree 5 files changed +1097
-8
lines changed Expand file tree Collapse file tree 5 files changed +1097
-8
lines changed Original file line number Diff line number Diff line change 11---
22name : Deployment
33on :
4+ push :
5+ branches :
6+ - main
47 workflow_dispatch :
58 inputs :
69 env :
710 description : " Select environment to deploy to"
811 type : choice
912 required : true
10- default : " stage "
13+ default : " prod "
1114 options :
12- - stage
13- - prod
14- - stage & prod
15+ - " prod"
16+ - " stage & prod"
1517 baseSha :
1618 description : " Use base SHA commit to deploy from (empty string defaults to last commit before HEAD)"
1719 type : string
2628 name : Deployment
2729 uses : AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main
2830 with :
29- env : ${{ inputs.env }}
30- baseSha : ${{ inputs.baseSha }}
31- deployAll : ${{ inputs.deployAll }}
31+ env : ${{ inputs.env || 'prod' }}
32+ baseSha : ${{ inputs.baseSha || '' }}
33+ deployAll : ${{ inputs.deployAll || true }}
Original file line number Diff line number Diff line change 1+ ---
2+ name : PR validation
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ validate :
8+ uses : AdobeDocs/adp-devsite-workflow/.github/workflows/validate-pr.yml@pr-validation
9+ with :
10+ pr_number : ${{ github.event.pull_request.number }}
11+ base_ref : ${{ github.event.pull_request.base.ref }}
Original file line number Diff line number Diff line change 1+ ---
2+ name : Staging
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ baseSha :
7+ description : " Use base SHA commit to deploy from (empty string defaults to last commit before HEAD)"
8+ type : string
9+ required : false
10+ default : " "
11+ deployAll :
12+ description : " Force deploy all files"
13+ type : boolean
14+ default : false
15+ jobs :
16+ deployment :
17+ name : Deployment
18+ uses : AdobeDocs/adp-devsite-workflow/.github/workflows/deploy.yml@main
19+ with :
20+ env : stage
21+ baseSha : ${{ inputs.baseSha }}
22+ deployAll : ${{ inputs.deployAll }}
You can’t perform that action at this time.
0 commit comments