From d4fdec1c7e946f2bd8cd3e2676b281c27fbf766c Mon Sep 17 00:00:00 2001 From: rhahao <26148770+rhahao@users.noreply.github.com> Date: Sun, 1 Dec 2024 03:31:51 +0300 Subject: [PATCH] build(sematic-release): update config --- .github/workflows/deploy.yml | 4 ++++ .github/workflows/redeploy.yml | 2 +- release.config.json | 6 ------ 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a804475189..bdcc8be7f0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }} diff --git a/.github/workflows/redeploy.yml b/.github/workflows/redeploy.yml index a1aeccf638..c866d810af 100644 --- a/.github/workflows/redeploy.yml +++ b/.github/workflows/redeploy.yml @@ -1,4 +1,4 @@ -name: Deploy CPE +name: Redeploy App on: workflow_dispatch: diff --git a/release.config.json b/release.config.json index bcb15629c2..3c76e11478 100644 --- a/release.config.json +++ b/release.config.json @@ -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" ] }