diff --git a/.github/workflows/flakehub.yaml b/.github/workflows/flakehub.yaml new file mode 100644 index 0000000..f66eeb6 --- /dev/null +++ b/.github/workflows/flakehub.yaml @@ -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"