blob: fd39c424e30d70cdc2cd3257341a35b0c444ed42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# 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
|