fix: change breadrcumb on instant nav #3
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: Build and publish website | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| jobs: | |
| publish: | |
| environment: | |
| name: openaleph.org | |
| url: https://openaleph.org | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - run: pip install -r requirements.txt | |
| # pngquant: system binary the optimize plugin shells out to for PNG (not | |
| # pip-installable). Optimize runs in CI (GitHub sets CI=true); Pillow for | |
| # JPG comes via mkdocs-material[imaging] in requirements.txt. | |
| - run: sudo apt-get update && sudo apt-get install -y pngquant | |
| - run: mkdocs build | |
| - uses: jakejarvis/s3-sync-action@master | |
| with: | |
| args: --acl public-read --follow-symlinks --exclude '.git*' --exclude 'node_modules/*' | |
| env: | |
| SOURCE_DIR: ./site | |
| AWS_S3_BUCKET: openaleph.org | |
| AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| AWS_S3_ENDPOINT: ${{ secrets.AWS_S3_ENDPOINT }} | |
| AWS_REGION: "eu-central-1" |