Merge pull request #71 from DeterminateSystems/flakehub-publish

Publish to FlakeHub
This commit is contained in:
Luc Perkins 2024-05-28 18:45:16 -03:00 committed by GitHub
commit 06ffb16385
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"