~samwhited/mellium.im

5ea9187d241299ec258317153c04cedafe8b8c9d — Sam Whited 5 months ago def4b99
.builds: new rsync deploy

Signed-off-by: Sam Whited <sam@samwhited.com>
1 files changed, 4 insertions(+), 5 deletions(-)

M .builds/deploy.yml
M .builds/deploy.yml => .builds/deploy.yml +4 -5
@@ 1,9 1,11 @@
image: alpine/edge
packages:
  - hugo
  - rsync
  - zip
secrets:
  - eb7e7bca-1f38-4044-9bfc-3d568ef027dc
  - c02a5953-f276-413e-9c9a-c50ee3d84d52
  - fd26d009-95b8-4558-9ff4-1129c8b3c69c
sources:
  - https://github.com/mellium/mellium.im
triggers:


@@ 17,7 19,4 @@ tasks:
      hugo
  - deploy: |
      cd mellium.im/public
      zip -r deploy.zip ./*
      curl -H "@$HOME/.netlifydeployheaders" \
           --data-binary "@deploy.zip" \
           https://api.netlify.com/api/v1/sites/mellium.im/deploys
      rsync -e "ssh -p 222" -av --delete . deploy@mellium.im:/usr/local/www/mellium.im