Skip to content

Commit

Permalink
Update .gitlab-ci.yml to trigger package upload when tagged.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendonj committed Feb 18, 2019
1 parent 2b88933 commit f38cce2
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
stages:
- build
- deploy
- upload

# multiarch images only include the main component, and equivs is in universe
.fix_ubuntu_multiarch_apt_template: &fix_ubuntu_multiarch_apt
Expand Down Expand Up @@ -111,14 +111,10 @@ build-jessie-armhf:
# <<: *build_template
# image: multiarch/debian-debootstrap:arm64-jessie

deploy-packages:
stage: deploy
upload-packages:
stage: upload
image: ubuntu:bionic
script:
- ls built-packages/
artifacts:
paths:
- built-packages/*
expire_in: 1 month
- ./bintray-upload.sh
only:
- tags

0 comments on commit f38cce2

Please sign in to comment.