~emersion/mrsh

948945db0f8b7f9e4ea7cb6ded22665f17cadfb7 — emersion 1 year, 9 months ago 4378053
Add .build.yml
1 files changed, 17 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +17 -0
@@ 0,0 1,17 @@
image: alpine/edge
packages:
  - rsync
secrets:
  - 5874ac5a-905e-4596-a117-fed1401c60ce
sources:
  - https://git.sr.ht/~emersion/mrsh
tasks:
  - upload: |
      cd mrsh
      git checkout website
      sshopts="-o StrictHostKeyChecking=no"
      rsync --rsh="ssh $sshopts" -rP \
          --exclude '.git/*' \
          --delete \
          --delete-excluded \
          . deploy@emersion.fr:/srv/http/mrsh