Skip to content

Curate persistent evolution resources (2026-09-01) #121

Curate persistent evolution resources (2026-09-01)

Curate persistent evolution resources (2026-09-01) #121

Workflow file for this run

name: Deploy research dashboard
on:
pull_request:
paths:
- "site/**"
- "scripts/build-dashboard-data.mjs"
- "test/dashboard_*"
- "README.md"
- "CHANGELOG.md"
- "ROADMAP.md"
- ".github/workflows/pages.yml"
push:
branches:
- main
paths:
- "site/**"
- "scripts/build-dashboard-data.mjs"
- "test/dashboard_*"
- "README.md"
- "CHANGELOG.md"
- "ROADMAP.md"
- ".github/workflows/pages.yml"
schedule:
- cron: "43 16 * * *"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: github-pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Test dashboard
run: node --test test/dashboard_*_test.mjs
- name: Build repository snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: node scripts/build-dashboard-data.mjs
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v4
with:
path: "_site"
deploy:
if: github.event_name != 'pull_request'
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy GitHub Pages
id: deployment
uses: actions/deploy-pages@v4