We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea5637c commit e7cc11fCopy full SHA for e7cc11f
1 file changed
.github/workflows/sync-gh-pages.yml
@@ -0,0 +1,27 @@
1
+name: Sync gh-pages with main
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+concurrency:
8
+ group: sync-gh-pages
9
+ cancel-in-progress: true
10
11
+jobs:
12
+ sync:
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: write
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ with:
19
+ ref: gh-pages
20
+ fetch-depth: 0
21
22
+ - name: Merge main into gh-pages
23
+ run: |
24
+ git config user.name "github-actions[bot]"
25
+ git config user.email "github-actions[bot]@users.noreply.github.com"
26
+ git merge origin/main -m "sync: merge main into gh-pages"
27
+ git push origin gh-pages
0 commit comments