fix vite deploy: add debug
All checks were successful
Deploy Production Server / if_merged (push) Has been skipped
All checks were successful
Deploy Production Server / if_merged (push) Has been skipped
This commit is contained in:
parent
87e1c6c90a
commit
743f2a720c
@ -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 ../../..
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user