Commit 176a0d4 1 parent 859ca20 commit 176a0d4 Copy full SHA for 176a0d4
File tree 1 file changed +49
-0
lines changed
1 file changed +49
-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
+ steps :
25
+ - uses : actions/checkout@v4
26
+ with :
27
+ ref : ${{ github.event.pull_request.head.sha }}
28
+
29
+ - name : Install composer dependencies
30
+ uses : php-actions/composer@v6
31
+ with :
32
+ container_workdir : /app/${{ matrix.directory }}
33
+ memory_limit : 512M
34
+
35
+ - name : ' Run check "${{ matrix.composer-command.name }}"'
36
+ uses : php-actions/composer@v6
37
+ with :
38
+ container_workdir : /app/${{ matrix.directory }}
39
+ command : ${{ matrix.composer-command.command }}
40
+ memory_limit : 512M
41
+ - name : " Commit documentation"
42
+ uses : stefanzweifel/git-auto-commit-action@v5
43
+ with :
44
+ commit_message : ' [DOCS] Generate documentation'
45
+ commit_options : ' --no-verify --signoff'
46
+ branch : " main"
47
+ push_options : ' --force'
48
+ env :
49
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments