Skip to content

Commit

Permalink
build(sematic-release): update config
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao committed Dec 1, 2024
1 parent d8b55e3 commit d4fdec1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Build App
run: npm run build
env:
VITE_FIREBASE_APIKEY: ${{ secrets.VITE_FIREBASE_APIKEY }}
VITE_FIREBASE_AUTHDOMAIN: ${{ secrets.VITE_FIREBASE_AUTHDOMAIN }}
VITE_FIREBASE_PROJECTID: ${{ vars.VITE_FIREBASE_PROJECTID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/redeploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy CPE
name: Redeploy App

on:
workflow_dispatch:
Expand Down
6 changes: 0 additions & 6 deletions release.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "npm run build"
}
],
"@semantic-release/github"
]
}

0 comments on commit d4fdec1

Please sign in to comment.