docs.datacontroller.io/.github/workflows/publish.yml

29 lines
663 B
YAML
Raw Normal View History

2021-05-25 20:32:42 +00:00
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
2022-10-14 21:40:27 +00:00
- name: IF PDF
2022-10-14 21:53:10 +00:00
run: npx @marp-team/marp-cli slides/if.md -o theme/if.pdf --allow-local-files --html=true
2022-10-14 21:40:27 +00:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2021-05-25 20:32:42 +00:00
- name: Setup Python
uses: actions/setup-python@v1
- name: Deploy docs
2021-05-25 20:44:41 +00:00
uses: mhausenblas/mkdocs-deploy-gh-pages@1.16
2021-05-25 20:32:42 +00:00
env:
2021-05-25 20:53:31 +00:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2022-10-14 21:40:27 +00:00
CUSTOM_DOMAIN: docs.datacontroller.io