Commit a7a4d7f0 authored by Noé Gaumont's avatar Noé Gaumont 🐙
Browse files

ci: add deb-publish stage run if REPO and PUBLISH are set

parent 583e51337ea6
Pipeline #28210 passed with stages
in 3 minutes and 26 seconds
......@@ -5,6 +5,7 @@ stages:
- lint
- tests
- build
- publish
flake8:
stage: lint
......@@ -45,3 +46,14 @@ deb-build:
artifacts:
paths:
- repo
deb-publish:
stage: publish
rules:
- if: '$PUBLISH && $REPO'
when: always
- when: never
script:
- dcmd scp -B repo/*_amd64.changes aptly@apt.ext.logilab.fr:incoming/$REPO
dependencies:
- deb-build
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment