Skip to content

Commit 535e4b5

Browse files
fix: Update npm publish & docker workflow triggers (#32)
fix: update npm & docker publish workflow to trigger only on releases
1 parent df9661e commit 535e4b5

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/publish-docker.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Publish to Docker Hub
22

33
on:
4-
push:
5-
tags:
6-
- "v*"
4+
release:
5+
types: [published]
76
workflow_dispatch:
87
inputs:
98
version:

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
name: Publish to npm
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
tags:
8-
- "v*"
4+
release:
5+
types: [published]
96
workflow_dispatch:
107
inputs:
118
version:

0 commit comments

Comments
 (0)