Skip to content

Commit

Permalink
fix: only run deploy packages when a new tag is pushed on main
Browse files Browse the repository at this point in the history
  • Loading branch information
bbohlender committed Jan 13, 2025
1 parent 8bfc432 commit 9bb01a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
deploy-packages:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/') && github.ref_name == 'refs/heads/main'
permissions:
contents: read
steps:
Expand Down
3 changes: 2 additions & 1 deletion examples/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"zustand": "^4.5.2"
},
"scripts": {
"dev": "vite --host"
"dev": "vite --host",
"build": "vite build"
}
}

0 comments on commit 9bb01a6

Please sign in to comment.