Publish to FlakeHub

This commit is contained in:
Luc Perkins 2024-05-24 11:50:24 -03:00
parent 18f457e56e
commit 5d8b7417db
No known key found for this signature in database
GPG key ID: 16DB1108FB591835

21
.github/workflows/flakehub.yaml vendored Normal file
View file

@ -0,0 +1,21 @@
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@v3"
- uses: "DeterminateSystems/nix-installer-action@main"
- uses: "DeterminateSystems/flakehub-push@main"
with:
name: "DeterminateSystems/magic-nix-cache"
rolling: true
visibility: "public"