Commit c5d676d 1 parent 859ca20 commit c5d676d Copy full SHA for c5d676d
File tree 1 file changed +44
-0
lines changed
1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Docs
2
+
3
+ on :
4
+ pull_request :
5
+ # Run this workflow for all PRs against main
6
+ branches :
7
+ - main
8
+
9
+ jobs :
10
+ docs :
11
+ runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ composer-command :
15
+ - name : Geenerate docs
16
+ command : ' docs:generate'
17
+ directory : ['typo3-fractor']
18
+
19
+ name : ${{ matrix.composer-command.name }}/${{ matrix.directory }}
20
+
21
+ defaults :
22
+ run :
23
+ working-directory : ${{ matrix.directory }}
24
+
25
+ steps :
26
+ - name : " Checkout"
27
+ uses : actions/checkout@v4
28
+
29
+ # see https://github.com/ramsey/composer-install
30
+ - name : " Install Composer dependencies"
31
+ uses : ramsey/composer-install@v3
32
+
33
+ - name : " Generate documentation"
34
+ run : " composer docs:generate"
35
+
36
+ - name : " Commit documentation"
37
+ uses : stefanzweifel/git-auto-commit-action@v5
38
+ with :
39
+ commit_message : ' [DOCS] Generate documentation'
40
+ commit_options : ' --no-verify --signoff'
41
+ branch : " main"
42
+ push_options : ' --force'
43
+ env :
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments