Skip to content

Commit 64fc61e

Browse files
committed
ci: publish to FlakeHub
1 parent 3a02297 commit 64fc61e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
name: "Build and push binaries to cachix"
1+
name: "Build and publish to Cachix and FlakeHub ❄️"
22
on:
33
push:
44
branches:
55
- master
66
jobs:
77
build:
88
runs-on: ubuntu-latest
9+
permissions:
10+
id-token: write
11+
contents: read
912
steps:
1013
- name: Checkout repository
1114
uses: actions/checkout@v4
1215
- name: Install nix
1316
uses: cachix/install-nix-action@v30
14-
- name: Setup cachix action
17+
- name: Setup cachix
1518
uses: cachix/cachix-action@v14
1619
with:
1720
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
@@ -20,3 +23,9 @@ jobs:
2023
run: nix flake check
2124
- name: Nix flake develop
2225
run: nix develop
26+
- name: Publish to FlakeHub
27+
uses: DeterminateSystems/flakehub-push@main
28+
with:
29+
name: DeterminateSystems/flakehub-push
30+
rolling: true
31+
visibility: public

0 commit comments

Comments
 (0)