Deploy #519
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: Deploy | |
on: | |
schedule: | |
- cron: "0 6 * * *" | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
id-token: write | |
pages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
override: true | |
profile: minimal | |
toolchain: nightly-2025-05-12 | |
- uses: denoland/setup-deno@v2 | |
- uses: Swatinem/rust-cache@v2 | |
- run: | | |
cd evaluator | |
cargo run --features all-protocols,deploy --release -- "Shared GitHub runner" | |
cd ../site | |
deno install | |
deno run build | |
- uses: actions/configure-pages@v5 | |
- uses: actions/upload-pages-artifact@v3 | |
with: | |
path: 'site/build' | |
- id: deployment | |
uses: actions/deploy-pages@v4 |