Skip to content

Commit 51588da

Browse files
committed
Fix CI/CD pipeline
Signed-off-by: Charles d'Avernas <charles.davernas@neuroglia.io>
1 parent 28f46ed commit 51588da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pipeline.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- main # Trigger on pull requests targeting the main branch
1010
workflow_dispatch: # Allow manual triggers
11+
release:
12+
types:
13+
- published # Trigger on new release creation
1114

1215
jobs:
1316
build-and-test:
@@ -51,7 +54,7 @@ jobs:
5154
name: Publish to crates.io
5255
needs: build-and-test
5356
runs-on: ubuntu-latest
54-
if: github.event_name == 'release' && github.event.action == 'published' # Ensure it only runs on release publish
57+
if: github.event.action == 'published'
5558

5659
steps:
5760
- name: Checkout repository

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy