Skip to content

Commit

Permalink
updating trigger to push to version and package to be generated and p…
Browse files Browse the repository at this point in the history
…ublished. (#18)

Semantic Release cannot generate new package from PR. It needs to run on
"push".
  • Loading branch information
t1agob authored Sep 27, 2023
2 parents a9ca170 + 6f6ec9d commit b3bc5d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
name: Release

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

jobs:
release:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit b3bc5d0

Please sign in to comment.