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