Update publish_docs.yml

This commit is contained in:
Kjell Hedström. We are hiring @ Ganaz 2022-05-24 17:51:24 -06:00 committed by GitHub
parent d057e0a9d5
commit 6c956e5fc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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