Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
deploy: add deploy
.build.yml | 18 ++++++++++++++++++
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000000000000000000000000000000000000..a7aa55a47abc782897d2b427efb605d3d6f51c9b --- /dev/null +++ b/.build.yml @@ -0,0 +1,18 @@ +image: alpine/latest +packages: + - rsync +sources: + - https://git.sr.ht/~porcellis/cirandas.net-docs +secrets: + - eb365c2d-acc8-4f9b-977a-720bac44419c +environment: + site: cirandas.net-docs + host: deployer@marreco.eletrotupi.com +tasks: + - build: | + echo "StrictHostKeyChecking=no" >> ~/.ssh/config + rsync -rzvhP \ + $site \ + --exclude=.git \ + --exclude=.build.yml \ + $host:/srv/