add missing step #2
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: ProxyPatternPool documentation publication on GitHub | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
- name: Check documentation | |
run: make check.docs | |
- name: Generate documentation | |
run: | | |
make doc | |
ln -s docs/_build/html _site | |
find docs/_build -type d -print | xargs chmod a+rx | |
find docs/_build -type f -print | xargs chmod a+r | |
- name: Upload to GitHub Pages | |
uses: actions/upload-pages-artifact@v3 | |
deploy: | |
needs: build | |
environment: | |
name: github-pages | |
permissions: | |
pages: write | |
id-token: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |