File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ name: Continuous Deployment
66on :
77 push :
88 branches : [prepublish]
9+ workflow_run :
10+ workflows : [Prepublication staging]
11+ types : [completed]
912
1013jobs :
1114 deploy :
Original file line number Diff line number Diff line change 1+ # As an alternative to a manual push to the prepublish branch, this workflow can
2+ # be triggered on a release branch by assigning a special label to its pull
3+ # request in order to set the CD circus in motion.
4+
5+ name : Prepublication staging
6+
7+ on :
8+ pull_request :
9+ types : [labeled]
10+ branches : [release/*]
11+
12+ jobs :
13+ stage :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Merge into prepublish
18+ uses : devmasx/merge-branch@v1.3.0
19+ with :
20+ label_name : ready to launch
21+ target_branch : prepublish
22+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments