Skip to content

CI

CI #279

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
- '!main'
pull_request:
workflow_dispatch:
workflow_call:
inputs:
upload-artifact:
type: boolean
schedule:
- cron: '0 0,8,16 * * *' # runs daily at 0,8,16 UTC
permissions:
contents: read
jobs:
ci:
environment: ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build -o ./_site
- if: inputs.upload-artifact
uses: actions/upload-pages-artifact@main