mirror of
https://github.com/KjellKod/g3log.git
synced 2025-01-19 08:46:42 +01:00
Update publish_docs.yml
This commit is contained in:
parent
d057e0a9d5
commit
6c956e5fc8
19
.github/workflows/publish_docs.yml
vendored
19
.github/workflows/publish_docs.yml
vendored
@ -3,17 +3,14 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
deploy:
|
||||||
name: Deploy docs
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout master
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v2
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
- name: Deploy docs
|
python-version: 3.x
|
||||||
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
- run: pip install mkdocs-material
|
||||||
env:
|
- run: mkdocs gh-deploy --force
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# CONFIG_FILE: docs/mkdocs.yml -- this didn't seem to work
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user