make the app deployable on gitapp.si

This commit is contained in:
Aljaz S
2021-11-16 21:17:16 +01:00
parent 57a3b27993
commit 8e072824e4
3 changed files with 28 additions and 0 deletions

14
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,14 @@
deploy:
image: alpine:latest
stage: deploy
variables:
GITAPP_URL: https://gitapp.si
GITAPP_NAME: upn-qr
tags:
- exec-docker
script:
- apk add nodejs~=14 npm git
- npm install --global caprover
- caprover deploy --caproverUrl $GITAPP_URL --appToken $GITAPP_TOKEN --appName $GITAPP_NAME --branch origin/master
only:
- master