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