fix(nyz): fix high sphinx version doc bug #57
This file contains hidden or 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: Docs Deploy | |
on: | |
push: | |
branches: [ main, 'doc/*', 'dev/*' ] | |
release: | |
types: [ published ] | |
jobs: | |
doc: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y make wget curl cloc graphviz pandoc | |
dot -V | |
python -m pip install -e .[doc] | |
python -m pip install carla | |
- name: Generate | |
run: | | |
git fetch --all --tags | |
git branch -av | |
git remote -v | |
git tag | |
make -C ./docs html | |
mv docs/build/html public | |
rm -rf docs/build | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: public # The folder the action should deploy. | |
CLEAN: true # Automatically remove deleted files from the deploy branch |