4 types: [opened, reopened, synchronize]
10 - name: Check out source code
11 uses: actions/checkout@v2
15 uses: actions/setup-python@v2
16 - name: Install dependencies
18 python -m pip install --upgrade setuptools setuptools_scm wheel
19 pip install -r docs/requirements.txt
21 - name: Build documentation
23 sphinx-build docs docs/_build
24 - name: Publish documentation
25 if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'
26 uses: JamesIves/github-pages-deploy-action@releases/v3
28 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31 TARGET_FOLDER: latest/