mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-21 20:51:27 +00:00
Stop using mkdocs action and just build it manually
This commit is contained in:
parent
1601c21ac0
commit
caab3e3360
21
.github/workflows/web.yaml
vendored
21
.github/workflows/web.yaml
vendored
@ -29,9 +29,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Deploy docs
|
- uses: actions/setup-python@v4
|
||||||
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
with:
|
||||||
env:
|
python-version: '3.9'
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
- name: Build docs
|
||||||
CONFIG_FILE: web/mkdocs.yml
|
run: |
|
||||||
REQUIREMENTS: web/requirements.txt
|
cd web
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
mkdocs build
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-pages-artifact@v1
|
||||||
|
with:
|
||||||
|
path: 'web/site'
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
id: deployment
|
||||||
|
uses: actions/deploy-pages@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user