Skip to content

Commit 2b68569

Browse files
authored
Create promoteToReference.yml
1 parent 618a68a commit 2b68569

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Create *Promote Stage to Prod* Pull Request
2+
on:
3+
push:
4+
branches:
5+
- prod
6+
jobs:
7+
productionPromotion:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
ref: reference
13+
- name: Reset prod branch
14+
run: |
15+
git fetch origin prod:prod
16+
git reset --hard prod
17+
- name: Create Pull Request
18+
uses: peter-evans/create-pull-request@v3
19+
with:
20+
branch: promTo/reference

0 commit comments

Comments
 (0)