Skip to content

Commit 44165d0

Browse files
committed
Use flakehub-push for publishing
1 parent 75b3222 commit 44165d0

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,3 @@ jobs:
4040
run: |
4141
git ls-files "*.nix" | \
4242
xargs nix run "https://flakehub.com/f/NixOS/nixpkgs/0.2505.808723#nixfmt-rfc-style" -- --check
43-
44-
DeterminateCI:
45-
uses: DeterminateSystems/ci/.github/workflows/workflow.yml@main
46-
permissions:
47-
id-token: write
48-
contents: read
49-
with:
50-
visibility: public
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish every Git push to main to FlakeHub
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
flakehub-publish:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write
13+
contents: read
14+
steps:
15+
- uses: actions/checkout@v5
16+
with:
17+
persist-credentials: false
18+
- uses: DeterminateSystems/determinate-nix-action@v3
19+
- uses: DeterminateSystems/flakehub-push@main
20+
with:
21+
name: "DeterminateSystems/flake-templates"
22+
rolling: true
23+
visibility: "public"
24+
include-output-paths: true

0 commit comments

Comments
 (0)