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