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 e2162e7 commit 961777eCopy full SHA for 961777e
.github/workflows/auto-publish.yml
@@ -0,0 +1,32 @@
1
+name: auto-publish
2
+run-name: Automatically publish documentation
3
+on:
4
+ schedule:
5
+ - cron: '15 22 * * TUE'
6
+jobs:
7
+ auto-publish:
8
+ runs-on: windows-latest
9
+ permissions:
10
+ contents: write
11
+ defaults:
12
+ run:
13
+ shell: bash
14
+ working-directory: ./
15
+ steps:
16
+ - name: Check out repository
17
+ uses: actions/checkout@v4
18
+ - name: Check out live
19
+ run: |
20
+ echo "Checking out live branch"
21
+ git config user.name github-actions
22
+ git config user.email [email protected]
23
+ git checkout live
24
+ - name: Merge from main into live
25
26
+ echo "Merging from main to live"
27
+ git merge main
28
+ - name: Push changes
29
30
+ echo "Pushing changes to live branch"
31
+ git push origin live
32
+
0 commit comments