Skip to content

Commit 341de05

Browse files
committed
ci(sync): add sync for alpha
1 parent 8150ced commit 341de05

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/beta-sync.yml renamed to .github/workflows/sync.yml

+17-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Beta Sync
1+
name: Sync
22

33
on:
44
push:
@@ -8,7 +8,7 @@ permissions:
88
contents: write
99

1010
jobs:
11-
sync:
11+
beta:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
@@ -23,3 +23,18 @@ jobs:
2323
git checkout beta
2424
git pull --rebase origin main
2525
git push -f
26+
alpha:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0
33+
34+
- name: Sync
35+
env:
36+
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
run: |
38+
git checkout alpha
39+
git pull --rebase origin main
40+
git push -f

0 commit comments

Comments
 (0)