fix vite deploy: add debug
All checks were successful
Deploy Production Server / if_merged (push) Has been skipped

This commit is contained in:
Thibaut Valentin 2025-01-08 18:11:19 +01:00
parent 87e1c6c90a
commit 743f2a720c

View File

@ -2,11 +2,12 @@ name: Deploy Production Server
# Only run the workflow when a PR is merged on main and closed
on:
pull_request:
types:
- closed
branches:
- 'master'
push:
# pull_request:
# types:
# - closed
# branches:
# - 'master'
# Here we check that the PR was correctly merged to main
jobs:
@ -35,6 +36,9 @@ jobs:
run: |
echo "${{ vars.VITE_ENV }}" > src/main/webapp/.env
cd src/main/webapp
echo "======tmp======"
cat -e .env
echo "======tmp======"
npm install
npm run build
cd ../../..