wip: ci/cd fix npm cache
Some checks failed
Deploy Production Server / if_merged (push) Failing after 2m31s

This commit is contained in:
Thibaut Valentin 2024-12-29 14:15:15 +01:00
parent 517aaa4b70
commit 97040481b8

View File

@ -27,14 +27,13 @@ jobs:
- name: Build site
run: |
echo "${{ vars.VITE_ENV }}" > src/main/webapp/.env
cat src/main/webapp/.env
cd src/main/webapp
npm install
npm run build
cd ../../..
rm -rf src/main/resources/META-INF/resources
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
run: |