summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-25 04:13:30 -0500
committerseth <[email protected]>2023-12-25 04:14:29 -0500
commitc28ea3d40d1136ae644d560bcceb20a89fb7d9ff (patch)
tree7c817205d21d81cf01b387c72a36d48c5eaba6e0 /.github
parente5820b945aa11c8f113f0275c512dd2a14ba7199 (diff)
actions: push to flakehub on tag
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/flakehub-publish.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/flakehub-publish.yaml b/.github/workflows/flakehub-publish.yaml
index 3e7bb4e..88ef8d1 100644
--- a/.github/workflows/flakehub-publish.yaml
+++ b/.github/workflows/flakehub-publish.yaml
@@ -3,6 +3,8 @@ name: Publish on Flakehub
on:
push:
branches: [main]
+ tags:
+ - "v*.*.*"
jobs:
publish:
@@ -21,4 +23,4 @@ jobs:
uses: DeterminateSystems/flakehub-push@v3
with:
visibility: "public"
- rolling: true
+ rolling: ${{ !startsWith(github.ref, 'refs/tags/v' )}}