Skip to content

Maintenance Mode

Maintenance Mode #57

Workflow file for this run

name: Deploy RAPath (MAINTENANCE MODE)
# ─────────────────────────────────────────────────────────────────────────────
# SITE PAUSED — deploys a single "temporarily unavailable" notice to every
# URL on rapath.org instead of building the 24 jurisdiction sites + hub.
#
# The full multi-site build/deploy workflow has been preserved at:
# .github/workflows-disabled/deploy-full-site.yml.bak
#
# TO RESTORE THE LIVE SITE:
# 1. Delete this file (or replace its contents with the .bak file's contents)
# 2. mv .github/workflows-disabled/deploy-full-site.yml.bak .github/workflows/deploy.yml
# 3. Commit and push — the next push will rebuild and redeploy all 25 sites.
# No source content (sites/, packages/) was modified or deleted — only what
# gets deployed changed.
# ─────────────────────────────────────────────────────────────────────────────
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup GitHub Pages
uses: actions/configure-pages@v5
- name: Upload maintenance page as Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: maintenance/
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4