Skip to content

blind test ++

blind test ++ #130

Workflow file for this run

name: CacheToolsUtils 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@v4
- name: Install dependencies
run: make venv
- name: Check documentation syntax
run: make check.docs
- name: Generate documentation
run: |
make docs
ln -s docs/_build/html _site
- name: Fix permissions
run: |
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@v2
deploy:
# "Pages" must accept GitHub Actions as a source
needs: build
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2