-
-
Notifications
You must be signed in to change notification settings - Fork 9
22 lines (22 loc) · 688 Bytes
/
docs.yml
File metadata and controls
22 lines (22 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: docs
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- run: cd docs && git clone https://github.com/phpgl/docs-assets && ls && ls docs-assets
- run: chmod +x ./bin/build-api-docs.sh
- run: ./bin/build-api-docs.sh
- run: pip install git+https://${{ secrets.GH_TOKEN }}@github.com/mario-deluna/mkdocs-material-insiders.git
- run: pip install mkdocs-include-dir-to-nav
- run: mkdocs gh-deploy --force