From b0a92f498f1e73685220f9b48954c0ab3edce36b Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Wed, 1 May 2024 00:26:04 -0300 Subject: [PATCH] Rolling publish to flakehub --- .../workflows/flakehub-publish-rolling.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/flakehub-publish-rolling.yaml diff --git a/.github/workflows/flakehub-publish-rolling.yaml b/.github/workflows/flakehub-publish-rolling.yaml new file mode 100644 index 0000000..6a7a8d8 --- /dev/null +++ b/.github/workflows/flakehub-publish-rolling.yaml @@ -0,0 +1,21 @@ +name: "Publish every Git push to main to FlakeHub" + +on: + push: + branches: + - "main" + +jobs: + flakehub-publish: + runs-on: "ubuntu-22.04" + permissions: + id-token: "write" + contents: "read" + steps: + - uses: "actions/checkout@v4" + - uses: "DeterminateSystems/nix-installer-action@v10" + - uses: "DeterminateSystems/flakehub-push@v3" + with: + name: "DeterminateSystems/nix-wasm-example" + rolling: true + visibility: "public"