molecule-ai-status/.github/workflows/response-time.yml
Hongming Wang 50d221341b fix(ci): pin Upptime to v1.41.0 + add gh-pages deploy step
Static Site CI was building the Sapper export successfully but had no
step to publish it — `gh-pages` branch never existed so GitHub Pages
couldn't serve anything. Matches the canonical Upptime template:

- static-site.yml: adds peaceiris/actions-gh-pages@v4 step publishing
  site/status-page/__sapper__/export/ to gh-pages
- All 5 workflows: pin upptime/uptime-monitor to @v1.41.0 instead of
  @master (reproducibility + matches upstream template expectations)
2026-04-15 14:25:53 -07:00

28 lines
653 B
YAML

name: Response Time CI
on:
repository_dispatch:
types: [response-time]
schedule:
# Hourly is enough for response-time histograms — the uptime
# workflow already captures short-term latency in each check.
- cron: "0 * * * *"
workflow_dispatch:
jobs:
release:
name: Update response time graphs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: upptime/uptime-monitor@v1.41.0
with:
command: "response-time"
env:
GH_PAT: ${{ secrets.GH_PAT || secrets.GITHUB_TOKEN }}
permissions:
contents: write
issues: write