File tree 1 file changed +48
-0
lines changed
1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Docs
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " main"
7
+
8
+ jobs :
9
+ docs :
10
+ runs-on : ubuntu-latest
11
+ strategy :
12
+ matrix :
13
+ composer-command :
14
+ - name : Geenerate docs
15
+ command : ' docs:generate'
16
+ directory : ['typo3-fractor']
17
+
18
+ name : ${{ matrix.composer-command.name }}/${{ matrix.directory }}
19
+
20
+ defaults :
21
+ run :
22
+ working-directory : ${{ matrix.directory }}
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+ with :
26
+ ref : ${{ github.event.pull_request.head.sha }}
27
+
28
+ - name : Install composer dependencies
29
+ uses : php-actions/composer@v6
30
+ with :
31
+ container_workdir : /app/${{ matrix.directory }}
32
+ memory_limit : 512M
33
+
34
+ - name : ' Run check "${{ matrix.composer-command.name }}"'
35
+ uses : php-actions/composer@v6
36
+ with :
37
+ container_workdir : /app/${{ matrix.directory }}
38
+ command : ${{ matrix.composer-command.command }}
39
+ memory_limit : 512M
40
+ - name : " Commit documentation"
41
+ uses : stefanzweifel/git-auto-commit-action@v5
42
+ with :
43
+ commit_message : ' [DOCS] Generate documentation'
44
+ commit_options : ' --no-verify --signoff'
45
+ branch : " main"
46
+ push_options : ' --force-with-lease'
47
+ env :
48
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments