chore(cicd): update install-nix-action to v20, add flakehub

This commit is contained in:
reo101 2023-11-17 16:12:46 +02:00
parent 32739fde09
commit 9f655ce1e9
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
2 changed files with 20 additions and 1 deletions

19
.github/workflows/flakehub.yml vendored Normal file
View file

@ -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"

View file

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20 - uses: DeterminateSystems/nix-installer-action@v4
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12 - uses: cachix/cachix-action@v12