Skip to content

Commit

Permalink
fix: update release-please workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Dec 4, 2023
1 parent 33007be commit 20d27ba
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: release-please

on:
push:
branches:
- main

name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
Expand All @@ -12,8 +13,6 @@ jobs:
id: release
with:
release-type: node
package-name: graasp-translations
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"docs","section":"Documentation","hidden":false}]'

- uses: actions/checkout@v4

Expand All @@ -34,4 +33,4 @@ jobs:
uses: graasp/graasp-deploy/.github/actions/publish-to-npm@v1
with:
npm-token: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.releases_created }}
if: ${{ steps.release.outputs.release_created }}

0 comments on commit 20d27ba

Please sign in to comment.