Use artifacts.

This commit is contained in:
Black Hat 2018-08-02 21:06:04 +00:00
parent 62b6e3bde4
commit 5bba0b58d1
1 changed files with 9 additions and 5 deletions

View File

@ -2,10 +2,6 @@ stages:
- preparation
- build
- deploy
cache:
paths:
- tmp/
preparation-flatpak:
image: debian:latest
@ -18,6 +14,9 @@ preparation-flatpak:
- cd tmp
- git clone "https://$GIT_USERNAME:$GIT_PASSWORD@gitlab.com/b0/matrique-repo"
- cd ../
artifacts:
paths:
- tmp/
build-native:
image: rabits/qt:5.11-desktop
@ -40,11 +39,16 @@ build-flatpak:
- cd flatpak
- flatpak-builder --repo=../tmp/matrique-repo/public build-dir org.eu.encom.matrique.json --force-clean --gpg-sign=52986BF4D61350EC249F2E891B0DB3358FC5E4B2
- cd ../
artifacts:
paths:
- tmp/
deploy-flatpak:
image: alpine/git
image: debian:latest
stage: deploy
before_script:
- apt-get update
- apt-get install -y git
- git config --global user.name "$GIT_NAME"
- git config --global user.email "$GIT_EMAIL"
script: