Create publish_docs.yml

Example from: https://github.com/mhausenblas/mkdocs-template and https://github.com/marketplace/actions/deploy-mkdocs
This commit is contained in:
Kjell Hedström. We are hiring @ Ganaz 2022-05-23 17:09:22 -06:00 committed by Kjell Hedström. We are hiring @ Ganaz
parent 485bf57fa8
commit 1e82c5c957

18
.github/workflows/publish_docs.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- master
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v1
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}