Skip to content

Update test.yml

Update test.yml #4

Workflow file for this run

name: docs
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
steps:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Install Dependencies
run: |
pip install -U sphinx
pip install -U sphinx-rtd-theme
- name: Build Docs
run: |
sphinx-build -b html ./doc/source/ public
touch public/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: public