djLint/.github/workflows/docs.yml
Christopher Pickering 0b3dfd68ef
updated workflows
2021-09-17 09:43:11 +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