Skip to content

Commit

Permalink
Merge pull request #5 from frankcrypto2023/dev
Browse files Browse the repository at this point in the history
fix auto publish logic
  • Loading branch information
dindinw authored Aug 6, 2024
2 parents 2e9f3b1 + 72ea9d0 commit 3fa039e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
name: publish code on npm

on:
pull_request:
branches: [main]
push:
branches:
- main
repository_dispatch:
types:
- closed
- webhook

jobs:
publish:
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down

0 comments on commit 3fa039e

Please sign in to comment.