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
|
# Only run the workflow when a PR is merged on main and closed
|
||||||
on:
|
on:
|
||||||
pull_request:
|
push:
|
||||||
types:
|
# pull_request:
|
||||||
- closed
|
# types:
|
||||||
branches:
|
# - closed
|
||||||
- 'master'
|
# branches:
|
||||||
|
# - 'master'
|
||||||
|
|
||||||
# Here we check that the PR was correctly merged to main
|
# Here we check that the PR was correctly merged to main
|
||||||
jobs:
|
jobs:
|
||||||
@ -35,6 +36,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "${{ vars.VITE_ENV }}" > src/main/webapp/.env
|
echo "${{ vars.VITE_ENV }}" > src/main/webapp/.env
|
||||||
cd src/main/webapp
|
cd src/main/webapp
|
||||||
|
echo "======tmp======"
|
||||||
|
cat -e .env
|
||||||
|
echo "======tmp======"
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
cd ../../..
|
cd ../../..
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user