Skip to content

Commit fdbb71b

Browse files
committed
Merge branch 'deploy' of github.com:DemocraciaEnRed/datosenfuga-next into deploy
2 parents bf8ec96 + b0b27ae commit fdbb71b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/deploy.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Merge to Deploy on Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
merge_to_deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v2
13+
14+
- name: Set git user and email
15+
run: |
16+
git config --global user.email "[email protected]"
17+
git config --global user.name "GitHub Actions"
18+
19+
- name: Fetch latest changes
20+
run: git fetch --prune --unshallow
21+
22+
- name: Checkout deploy branch
23+
run: git checkout deploy
24+
25+
- name: Merge main into deploy
26+
run: |
27+
git merge origin/main --no-ff --no-edit
28+
git push origin deploy

0 commit comments

Comments
 (0)