upload to buildrone before apt
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Harvey Tindall 2021-06-25 01:57:29 +01:00
parent 174d243f15
commit c26c13e984
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -17,9 +17,9 @@ steps:
- ./version.sh ./goreleaser.sh --snapshot --skip-publish --rm-dist
- wget https://builds.hrfee.pw/upload.py
- pip3 install requests
- bash -c 'python3 upload.py https://builds2.hrfee.pw hrfee waybar-mpris --upload ./dist/*.tar.gz ./dist/*.rpm'
- bash -c 'sftp -P 2022 -i /id_rsa -o StrictHostKeyChecking=no root@161.97.102.153:/repo/incoming <<< $"put dist/*.deb"'
- bash -c 'ssh -i /id_rsa root@161.97.102.153 -p 2022 "repo-process-deb trusty-unstable"'
- bash -c 'python3 upload.py https://builds2.hrfee.pw hrfee waybar-mpris --upload ./dist/*.tar.gz ./dist/*.rpm'
environment:
BUILDRONE_KEY:
from_secret: BUILDRONE_KEY