diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-01-19 01:08:40 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-01-19 01:21:06 +0300 |
commit | cba3ea3512ad688076eb4185adf84bb6fbafeaac (patch) | |
tree | d652dc9cc10a79be70bf11c8c83096d5c9922eff | |
parent | 0d0bb0fa6abfcec9f56f0fdf36ca53232015f61a (diff) |
ci: Add debian nightly builds
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e34b056..08c60b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,7 +35,7 @@ build-linux: paths: - dist/nbxmpp-*.tar.gz - dist/nbxmpp-*.whl - - debian_build/python3-nbxmpp*.deb + - debian_build/* deploy-pypi: stage: deploy @@ -46,3 +46,19 @@ deploy-pypi: script: - python3 .ci/deploy.py - twine upload --username=__token__ --password=$PYPI_TOKEN dist/* + +deploy-debian: + stage: deploy + dependencies: + - build-linux + rules: + - if: '$NIGHTLY_BUILD' + script: + - pip install git+https://dev.gajim.org/gajim/release-helper.git + - > + release-helper deploy-to-ftp \ + --host=$FTP_HOST \ + --user=$FTP_USER \ + --password=$FTP_PASS \ + --directory=debian/"$(date +'%Y%m%d')" \ + debian_build |