djLint/.github/workflows/docs.yml
Christopher Pickering 925ce46f12
added docs workflow
2021-09-16 10:14:45 +02:00

26 lines
463 B
YAML

name: Docs
on:
release:
types: [published]
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: build docs
run: |
pip install tox
tox -e docs
- name: publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build
publish_branch: netlify