Prepare for deployment

This commit is contained in:
nemunaire 2022-03-01 13:46:44 +01:00
commit d440d85dc1
7 changed files with 79 additions and 9 deletions

View file

@ -8,6 +8,16 @@ platform:
arch: arm
steps:
- name: build front
image: node:17-alpine
commands:
- mkdir deploy
- apk --no-cache add python2 build-base
- cd ui
- npm install --network-timeout=100000
- npm run build
- tar chjf ../deploy/static.tar.bz2 build
- name: vet
image: golang:alpine
commands:
@ -44,6 +54,16 @@ platform:
arch: arm64
steps:
- name: build front
image: node:17-alpine
commands:
- mkdir deploy
- apk --no-cache add python2 build-base
- cd ui
- npm install --network-timeout=100000
- npm run build
- tar chjf ../deploy/static.tar.bz2 build
- name: vet
image: golang:alpine
commands: