feat: UI show version (#226)

This commit is contained in:
Dream Hunter
2024-05-12 11:52:55 +08:00
committed by GitHub
parent af027fd75e
commit 4b9d40d04b
3 changed files with 3 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ 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 }}"