blob: 2ae115827fcca3a27c00663efb61d4b403b8f2cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
name: Publish on Flakehub
on:
push:
branches: [main]
tags:
- "v*.*.*"
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@ab6bcb2d5af0e904d04aea750e2089e9dc4cbfdd # v13
- name: Push to Flakehub
uses: DeterminateSystems/flakehub-push@150c971996b1d14eaba6790102041234f606379f # v4
with:
visibility: "public"
rolling: ${{ !startsWith(github.ref, 'refs/tags/v' )}}
|