WIP Try to built a new htdocs-frontend tarball
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2021-09-24 19:05:08 +02:00
commit e29802b731
5 changed files with 12 additions and 13 deletions

View file

@ -54,7 +54,6 @@ steps:
image: golang:alpine
commands:
- go build -v -o deploy/frontend-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} srs.epita.fr/fic-server/frontend
- tar chjf deploy/htdocs-frontend.tar.bz2 htdocs-frontend
environment:
CGO_ENABLED: 0
@ -66,6 +65,7 @@ steps:
- npm install --network-timeout=100000
- sed -i 's!@popperjs/core/dist/esm/popper!@popperjs/core!' node_modules/sveltestrap/src/*.js node_modules/sveltestrap/src/*.svelte
- npm run build
- tar chjf ../../deploy/htdocs-frontend.tar.bz2 build
- name: build dashboard
image: golang:alpine