mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-21 12:41: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:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Deploy docs
|
||||
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CONFIG_FILE: web/mkdocs.yml
|
||||
REQUIREMENTS: web/requirements.txt
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9'
|
||||
- name: Build docs
|
||||
run: |
|
||||
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