From 743f2a720c6223beaad430b47ad42ad89cff4a3a Mon Sep 17 00:00:00 2001 From: Thibaut Valentin Date: Wed, 8 Jan 2025 18:11:19 +0100 Subject: [PATCH] fix vite deploy: add debug --- .gitea/workflows/deploy_in_prod.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy_in_prod.yml b/.gitea/workflows/deploy_in_prod.yml index 516ea65..d0c4dfb 100644 --- a/.gitea/workflows/deploy_in_prod.yml +++ b/.gitea/workflows/deploy_in_prod.yml @@ -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 ../../..