Skip to content

Adjust the theme to the EPS one #6

Adjust the theme to the EPS one

Adjust the theme to the EPS one #6

Workflow file for this run

name: Deploy site
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Avoid overlapping runs on the same branch/PR; let the latest push win.
# Scoped by ref so a PR build never cancels (or gets cancelled by) the main deploy.
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Generate HTML views
run: cd scripts && uv run gen_web_views.py
# Only needed for the deploy job below, so skip it on PRs.
- name: Upload public/ as Pages artifact
if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v3
with:
path: public
deploy:
needs: build
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4