Skip to content

Commit 1af0f79

Browse files
authored
Add a mirror branch of main for with-dev-backend (stack-auth#129)
1 parent 05ed1ba commit 1af0f79

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Mirror main branch to main-mirror-for-wdb
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
lint_and_build:
10+
permissions:
11+
contents: write
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Mirror branch
19+
run: |
20+
git pull --all
21+
git switch -c main-mirror-for-wdb
22+
git reset --hard origin/main
23+
24+
- name: Trigger rebuild
25+
run: |
26+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
27+
git config --global user.name "github-actions[bot]"
28+
git commit --allow-empty -m "Trigger Vercel rebuild"
29+
30+
- name: Push branch
31+
run: |
32+
git push -f origin main-mirror-for-wdb

0 commit comments

Comments
 (0)