merge back from master to sync branches #74
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: π Deploy Docs | |
on: | |
push: | |
branches: | |
- master | |
# tags: | |
# - v* | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Checkout | |
uses: actions/checkout@master | |
- name: π Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: π§° Install dependencies | |
run: make install IGNORE_VENV=1 | |
- name: π Build Docs | |
run: | | |
make docs | |
touch docs/build/html/.nojekyll | |
- name: π Deploy Docs | |
uses: peaceiris/[email protected] | |
env: | |
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PUBLISH_BRANCH: gh-pages | |
PUBLISH_DIR: docs/build/html | |
#- name: Build Package | |
#run: | | |
#python3 setup.py sdist | |
#- name: Deploy Package | |
#uses: pypa/gh-action-pypi-publish@master | |
#with: | |
#user: __token__ | |
#password: ${{ secrets.PYPI_TOKEN }} |