Skip to content

Commit

Permalink
fix(cicd): fixed condition
Browse files Browse the repository at this point in the history
  • Loading branch information
JBBianchi committed Nov 29, 2023
1 parent 97deb86 commit 649a6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/js-publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
publish:
if: (github.event_name == 'push' && github.ref_name == 'main') == github.event_name =='workflow_dispatch'
if: (github.event_name == 'push' && github.ref_name == 'main') || github.event_name =='workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand Down

0 comments on commit 649a6e8

Please sign in to comment.