Skip to content

Commit 46629fc

Browse files
committed
cicd: fix trigger
1 parent f6e164e commit 46629fc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
on:
22
push:
33
branches: [main]
4+
tags: [v*]
45
workflow_dispatch:
56

67
jobs:
78
release:
8-
if: github.ref == 'refs/heads/main'
99
timeout-minutes: 5
1010
runs-on: ubuntu-latest
1111
environment:
@@ -30,6 +30,7 @@ jobs:
3030
nix develop -c just build
3131
nix develop -c just build-fr
3232
- name: Publish Timestamped Pre-Release
33+
if: github.ref == 'refs/heads/main'
3334
run: |
3435
NOW=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
3536
gh release create "pre-$(date -u +%Y-%m-%dT%H-%M-%S)" *.json \

0 commit comments

Comments
 (0)