mirror of
https://github.com/Hopiu/djLint.git
synced 2026-03-24 01:00:23 +00:00
26 lines
463 B
YAML
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
|