Skip to content

Commit d38fc28

Browse files
committed
Generate Docs GHActions
1 parent ad807e2 commit d38fc28

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/phpunit.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,20 @@ jobs:
1919
- "8.3"
2020
- "8.2"
2121
- "8.1"
22+
- "8.0"
23+
- "7.4"
2224

2325
steps:
24-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2527
- run: composer install
2628
- run: ./vendor/bin/phpunit
2729

2830
Documentation:
29-
runs-on: 'ubuntu-latest'
30-
needs: Build
3131
if: github.ref == 'refs/heads/master'
32-
env:
33-
DOC_GITHUB_TOKEN: '${{ secrets.DOC_TOKEN }}'
34-
steps:
35-
- uses: actions/checkout@v3
36-
- run: curl https://opensource.byjg.com/add-doc.sh | bash /dev/stdin php jwt-session
32+
needs: Build
33+
uses: byjg/byjg.github.io/.github/workflows/add-doc.yaml@master
34+
with:
35+
folder: php
36+
project: ${{ github.event.repository.name }}
37+
secrets: inherit
38+

0 commit comments

Comments
 (0)