From ec6db50220a7ac099f88815150e2511295a75999 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 14 Jul 2024 16:45:00 -0400 Subject: [PATCH] github: add flakehub workflow --- .github/workflows/flake-update-inputs.yml | 2 +- .../workflows/flakehub-publish-rolling.yml | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/flakehub-publish-rolling.yml diff --git a/.github/workflows/flake-update-inputs.yml b/.github/workflows/flake-update-inputs.yml index a615e78d..00c0ed33 100644 --- a/.github/workflows/flake-update-inputs.yml +++ b/.github/workflows/flake-update-inputs.yml @@ -1,4 +1,4 @@ -name: "update-flake-inputs" +name: "inputs" on: schedule: - cron: "0 0 * * 0" diff --git a/.github/workflows/flakehub-publish-rolling.yml b/.github/workflows/flakehub-publish-rolling.yml new file mode 100644 index 00000000..69b1074b --- /dev/null +++ b/.github/workflows/flakehub-publish-rolling.yml @@ -0,0 +1,20 @@ +name: "flakehub" +on: + push: + branches: + - "master" +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: "alyraffauf/nixcfg" + rolling: true + visibility: "public" + include-output-paths: true