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 ../../..