jnfilter @ 6f158c70803c3486f263f67619166c697832df72

 1image: alpine/latest
 2packages:
 3  - rsync
 4
 5sources:
 6  - https://git.sr.ht/~gabrielgio/jnfilter
 7
 8secrets:
 9  - 008c4f67-b864-47f8-9790-cd32f2ae8516
10
11environment:
12  build: builds@gabrielgio.me
13  artifact: artifacts.gabrielgio.me/archive/jnfilter/
14  version: 0.1.0
15
16tasks:
17  - archive: |
18      cd jnfilter
19      git archive \
20          -o jnfilter-$version.tar.gz \
21          --prefix=jnfilter-$version/ HEAD      
22  - deploy_archive: |
23      cd jnfilter
24      sshopts="ssh -o StrictHostKeyChecking=no"
25      rsync --mkpath --rsh="$sshopts" -rP *.tar.* $build:/var/www/$artifact