wip: ci/cd fix npm cache
Some checks failed
Deploy Production Server / if_merged (push) Failing after 2m31s
Some checks failed
Deploy Production Server / if_merged (push) Failing after 2m31s
This commit is contained in:
parent
517aaa4b70
commit
97040481b8
@ -27,14 +27,13 @@ jobs:
|
|||||||
- name: Build site
|
- name: Build site
|
||||||
run: |
|
run: |
|
||||||
echo "${{ vars.VITE_ENV }}" > src/main/webapp/.env
|
echo "${{ vars.VITE_ENV }}" > src/main/webapp/.env
|
||||||
cat src/main/webapp/.env
|
|
||||||
cd src/main/webapp
|
cd src/main/webapp
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
cd ../../..
|
cd ../../..
|
||||||
rm -rf src/main/resources/META-INF/resources
|
rm -rf src/main/resources/META-INF/resources
|
||||||
mkdir -p src/main/resources/META-INF/
|
mkdir -p src/main/resources/META-INF/
|
||||||
mv dist src/main/resources/META-INF/resources
|
mv src/main/webapp/dist src/main/resources/META-INF/resources
|
||||||
|
|
||||||
- name: Build application
|
- name: Build application
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user