pip(deps): bump axe-playwright-python in the python-deps group #36
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: Publish | |
on: | |
push: | |
workflow_dispatch: | |
repository_dispatch: | |
permissions: | |
id-token: write # This is required for requesting the JWT | |
contents: read # This is required for actions/checkout | |
concurrency: | |
group: "teahouse" | |
cancel-in-progress: false | |
jobs: | |
# Build job | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.13" | |
cache: "pip" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e . | |
python -m playwright install --with-deps chromium | |
- name: Build | |
run: | | |
render-engine serve | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: website | |
path: ./output | |
# Deployment job | |
deploy: | |
if: github.repository == 'teahouse-hosting/docs.teahouse.cafe' && github.ref == 'refs/heads/trunk' | |
environment: | |
name: teahouse | |
url: https://docs.teahouse.cafe | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/download-artifact@v4 | |
with: | |
name: website | |
path: ./output | |
- name: Upload | |
uses: teahouse-hosting/upload@trunk | |
with: | |
domain: docs.teahouse.cafe | |
root: ./build/html |