CI: also deploy tarballs for static files
continuous-integration/drone/push Build is passing Details

This commit is contained in:
nemunaire 2020-11-13 16:08:22 +01:00
parent a93d6c8c49
commit c10becba91
1 changed files with 4 additions and 0 deletions

View File

@ -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