# this build is meant to be submitted manually image: alpine/latest packages: - rsync - python3-dev - py3-setuptools_scm - poetry sources: - https://git.sr.ht/~gabrielgio/reddit-nextcloud-importer secrets: - 008c4f67-b864-47f8-9790-cd32f2ae8516 environment: deploy: builds@gabrielgio.me target: artifacts.gabrielgio.me/reddit-nextcloud-importer/ tasks: - archive: | cd reddit-nextcloud-importer poetry build - deploy: | cd reddit-nextcloud-importer/dist/ sshopts="ssh -o StrictHostKeyChecking=no" rsync --rsh="$sshopts" -rP *.tar.* $deploy:/var/www/$target