feat: add version for frontend && backend (#230)

This commit is contained in:
Dream Hunter
2024-05-12 18:31:43 +08:00
committed by GitHub
parent 62bec9ef90
commit 9de2d23be1
7 changed files with 10 additions and 5 deletions

View File

@@ -34,7 +34,6 @@ jobs:
cd frontend/
echo "${{ secrets.FRONTEND_ENV }}" > .env.prod
export project_name=${{ secrets.FRONTEND_NAME }}
export VITE_VERSION=${{ github.ref_name }}
pnpm install --no-frozen-lockfile
pnpm run deploy --project-name=$project_name
echo "Deploying prodcution for ${{ github.ref_name }}"