ci: add publish step with sftp upload
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline failed Details

This commit is contained in:
Kevin Dorner 2022-09-22 12:04:26 +02:00
parent 8bb619c676
commit c48181bf1e
1 changed files with 21 additions and 0 deletions

View File

@ -9,4 +9,25 @@ pipeline:
when:
event: [push, tag]
publish:
image: docker.io/plugins/sftp
pull: true
settings:
host:
from_secret: deb_repo_ssh_host
port:
from_secret: deb_repo_ssh_port
username:
from_secret: deb_repo_ssh_username
password:
from_secret: deb_repo_ssh_password
files:
- ../*.deb
- ../*.dsc
- ../*.git
- ../*.changes
destination_path: /var/www/repository/debian/incoming
when:
event: [tag]
branches: master