Skip to content

Commit

Permalink
Publish mkdocs to github action on every update
Browse files Browse the repository at this point in the history
  • Loading branch information
b0g3r committed May 1, 2021
1 parent f68e687 commit bfe5ebc
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1

- name: Set up Python 🐍
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Build docs 🏗
run: |
pip install poetry
poetry install
mkdocs build
- name: Deploy docs 🧐
uses: JamesIves/github-pages-deploy-action@4
with:
branch: gh-pages
folder: site

0 comments on commit bfe5ebc

Please sign in to comment.