Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>
Add CI
.build.yml | 13 +++++++++++++
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000000000000000000000000000000000000..3a57ecff768ef8e08331d22c536c31f2e5322ed7 --- /dev/null +++ b/.build.yml @@ -0,0 +1,13 @@ +image: alpine/3.12 +packages: + - rsync +sources: + - https://git.sr.ht/~porcellis/rascunho +environment: + deploy: deployer@rascunho +secrets: + - eb365c2d-acc8-4f9b-977a-720bac44419c # ssh deploy key +tasks: + - deploy: | + echo "StrictHostKeyChecking=no" >> ~/.ssh/config + rsync -rP rascunho --exclude .git/ deployer@rascunho.eletrotupi.com:/var/www/