docs.datacontroller.io/.github/workflows/publish.yml
2022-10-14 22:53:10 +01:00

29 lines
663 B
YAML

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@v2
- name: IF PDF
run: npx @marp-team/marp-cli slides/if.md -o theme/if.pdf --allow-local-files --html=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Python
uses: actions/setup-python@v1
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@1.16
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: docs.datacontroller.io