0.21.4 #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gh-pages-release | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install and configure Poetry | |
run: | | |
pip install -U pip poetry | |
poetry config virtualenvs.create false | |
- name: Build docs | |
run: make docs | |
- name: Deploy release docs | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.PERSONAL_TOKEN }} | |
publish_dir: build/html | |
external_repository: tortoise/tortoise.github.io | |
publish_branch: master | |
destination_dir: ${{ github.ref_name }} |