CI: added github pages build job

This commit is contained in:
Martin Gerhardy
2021-02-21 14:02:30 +01:00
committed by Sam Lantinga
parent 5d266e9bba
commit 306e808da1
2 changed files with 61 additions and 0 deletions

18
.github/workflows/gh-pages.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: 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@1.14
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}