mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Add a mirror branch of main for with-dev-backend (#129)
This commit is contained in:
parent
05ed1ba640
commit
1af0f79de8
32
.github/workflows/mirror-to-wdb.yaml
vendored
Normal file
32
.github/workflows/mirror-to-wdb.yaml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
name: Mirror main branch to main-mirror-for-wdb
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
lint_and_build:
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Mirror branch
|
||||
run: |
|
||||
git pull --all
|
||||
git switch -c main-mirror-for-wdb
|
||||
git reset --hard origin/main
|
||||
|
||||
- name: Trigger rebuild
|
||||
run: |
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git commit --allow-empty -m "Trigger Vercel rebuild"
|
||||
|
||||
- name: Push branch
|
||||
run: |
|
||||
git push -f origin main-mirror-for-wdb
|
||||
Loading…
Reference in New Issue
Block a user