File tree 1 file changed +33
-22
lines changed
1 file changed +33
-22
lines changed Original file line number Diff line number Diff line change 1
- name : Documentation
1
+ name : Documentation
2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
5
+ branches : [master]
6
6
7
7
jobs :
8
8
generateDocumentation :
9
9
runs-on : macos-latest
10
10
11
11
steps :
12
- - uses : actions/checkout@v2
13
-
14
- - uses : maxim-lobanov/setup-xcode@v1
15
- with :
16
- xcode-version : latest-stable
17
-
18
- - name : Build Toolkit
19
- run : |
20
- make build
21
-
22
- - name : Generate Script Commands Documentation
23
- run : |
24
- make gen-docs-and-commit
25
-
26
- - name : Push changes
27
- if : success()
28
- uses : ad-m/github-push-action@master
29
- with :
30
- github_token : ${{ secrets.RAYCAST_BOT_ACCESS_TOKEN }}
31
- branch : ${{ github.ref }}
12
+ - uses : actions/checkout@v2
13
+
14
+ - uses : maxim-lobanov/setup-xcode@v1
15
+ with :
16
+ xcode-version : latest-stable
17
+
18
+ - name : Build Toolkit
19
+ run : |
20
+ make build
21
+
22
+ - name : Generate Script Commands Documentation
23
+ run : |
24
+ make gen-docs-and-commit
25
+
26
+ - name : Push changes
27
+ if : success()
28
+ uses : ad-m/github-push-action@master
29
+ with :
30
+ github_token : ${{ secrets.RAYCAST_BOT_ACCESS_TOKEN }}
31
+ branch : ${{ github.ref }}
32
+
33
+ - name : Re-pull on failure
34
+ if : failure()
35
+ run : git pull origin ${{ github.ref }} --autostash --rebase -X ours
36
+
37
+ - name : Re-push on failure
38
+ if : failure()
39
+ uses : ad-m/github-push-action@master
40
+ with :
41
+ branch : ${{ github.ref }}
42
+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments