Add GitHub Actions workflow for FlakeHub publishing

This commit is contained in:
Daniel 2025-08-26 13:54:45 +10:00 committed by GitHub
commit b17819929f
Failed to generate hash of commit

View file

@ -0,0 +1,22 @@
name: "Publish every Git push to main to FlakeHub"
on:
push:
branches:
- "main"
jobs:
flakehub-publish:
runs-on: "ubuntu-latest"
permissions:
id-token: "write"
contents: "read"
steps:
- uses: "actions/checkout@v5"
with:
persist-credentials: false
- uses: "DeterminateSystems/determinate-nix-action@v3"
- uses: "DeterminateSystems/flakehub-push@main"
with:
name: "dwinkler1/np"
rolling: true
visibility: "public"
include-output-paths: true