Skip to content

Commit

Permalink
👷 pubish gem only on new release
Browse files Browse the repository at this point in the history
  • Loading branch information
cprodhomme committed Mar 23, 2023
1 parent 29984ac commit 7d4e3ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Ruby Gem

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
tags:
- '*'

jobs:
build:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
name: Node.js Package

on:
release:
types: [created]
push:
tags:
- '*'

jobs:
build:
Expand Down

0 comments on commit 7d4e3ea

Please sign in to comment.