Skip to content

Commit

Permalink
Lets try passing the branch directly from GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
henokgetachew committed Aug 23, 2024
1 parent de0dd90 commit 85484be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-cht-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release --config ./scripts/deploy/.releaserc.json
run: npx semantic-release --branches=${{ github.ref_name }} --config ./scripts/deploy/.releaserc.json
7 changes: 0 additions & 7 deletions scripts/deploy/.releaserc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
{
"branches": [
"master",
{
"name": "cht-deploy-publish",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
Expand Down

0 comments on commit 85484be

Please sign in to comment.