diff --git a/.github/workflows/flakehub.yml b/.github/workflows/flakehub.yml new file mode 100644 index 0000000..a5df483 --- /dev/null +++ b/.github/workflows/flakehub.yml @@ -0,0 +1,19 @@ +name: "Publish every Git push to master to 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: "reo101/rix101" + rolling: true + visibility: "public" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a0e1ab1..03e6b03 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v20 + - uses: DeterminateSystems/nix-installer-action@v4 with: nix_path: nixpkgs=channel:nixos-unstable - uses: cachix/cachix-action@v12