WIP Try to built a new htdocs-frontend tarball
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8d9269c635
commit
e29802b731
5 changed files with 12 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue