Skip to content

Commit

Permalink
ci: prevent deploy on release
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsdaniels committed Jun 25, 2024
1 parent da49101 commit 2a1fb7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
jobs:
deploy:
name: Deploy Apps
if: "github.event.commit.message != 'chore: publish'"
runs-on: ubuntu-latest
if: github.event.head_commit.message != 'version packages'
concurrency: ${{ github.workflow }}-${{ github.ref }}

steps:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Version or Publish
uses: changesets/action@v1
with:
commit: "chore: publish"
commit: "version packages"
publish: npm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 2a1fb7a

Please sign in to comment.