Skip to content

Commit

Permalink
Allow to run publishing workflow from github
Browse files Browse the repository at this point in the history
Signed-off-by: Tristram Gräbener <[email protected]>
  • Loading branch information
Tristramg committed Feb 28, 2025
1 parent 507675d commit 486564c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish_crates.io.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Publish to crates.io
on:
release:
types: [published, workflow_dispatch]
types: [published]
workflow_dispatch:

jobs:
publish:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish_npm.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Publish to npmjs
on:
release:
types: [published, workflow_dispatch]
types: [published]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ name: Publish to pypi

on:
release:
types: [published, workflow_dispatch]
types: [published]
workflow_dispatch:

permissions:
contents: read
Expand Down

0 comments on commit 486564c

Please sign in to comment.