blob: 88e61a82bb6355c8ad5f941fd6e1f9251a49f322 (
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
29
|
# 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/
version: v0.1.1
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
|