File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : autogen-docs
2
+ run-name : Automatically run GenerateDocs
3
+ on :
4
+ schedule :
5
+ - cron : ' 45 10 * * TUE'
6
+ - cron : ' 45 10 * * THU'
7
+ - cron : ' 15 17 * * WED'
8
+ jobs :
9
+ autogen-docs :
10
+ runs-on : ubuntu-latest
11
+ defaults :
12
+ run :
13
+ working-directory : ./generate-docs
14
+ steps :
15
+ - name : Check out repository
16
+ uses : actions/checkout@v4
17
+ - name : Set up node
18
+ uses : actions/setup-node@v4
19
+ with :
20
+ node-version : ' 18'
21
+ - name : Run GenerateDocs script
22
+ run : |
23
+ echo "Generating docs"
24
+ ./GenerateDocs.sh
25
+ - name : Commit and push changes
26
+ run : |
27
+ echo "Committing and pushing changes to autogen-docs branch"
28
+ git config user.name github-actions
29
+ git config user.email [email protected]
30
+ git checkout -b autogen-docs
31
+ git add .
32
+ git commit -m "Automatically generated docs"
33
+ git push
34
+
You can’t perform that action at this time.
0 commit comments