CI: also deploy tarballs for static files
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
a93d6c8c49
commit
c10becba91
@ -39,6 +39,7 @@ steps:
|
||||
image: golang:alpine
|
||||
commands:
|
||||
- go build -v -o deploy/admin-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} srs.epita.fr/fic-server/admin
|
||||
- tar chjf deploy/htdocs-admin.tar.bz2 htdocs-admin
|
||||
|
||||
- name: build backend
|
||||
image: golang:alpine
|
||||
@ -49,11 +50,13 @@ 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
|
||||
|
||||
- name: build dashboard
|
||||
image: golang:alpine
|
||||
commands:
|
||||
- go build -v -o deploy/dashboard-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} srs.epita.fr/fic-server/dashboard
|
||||
- tar chjf deploy/htdocs-dashboard.tar.bz2 htdocs-dashboard
|
||||
|
||||
- name: build repochecker
|
||||
image: golang:alpine
|
||||
@ -73,6 +76,7 @@ steps:
|
||||
image: golang:alpine
|
||||
commands:
|
||||
- go build -v -o deploy/qa-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} srs.epita.fr/fic-server/qa
|
||||
- tar chjf deploy/htdocs-qa.tar.bz2 htdocs-qa
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/drone-scp
|
||||
|
Loading…
x
Reference in New Issue
Block a user