Use artifacts.
This commit is contained in:
parent
62b6e3bde4
commit
5bba0b58d1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue