@@ 4,11 4,10 @@ packages:
- rsync
sources:
- https://git.sr.ht/~reesmichael1/chantpointer
-environment:
- deploy: chantpointer@142.93.10.195
secrets:
- 5c21e93c-6d8e-410a-9ae4-35dcc51acd8c
- - fadfa027-e02e-46d2-bf1a-3547dfe92ccc
+ - b2db3c75-f665-474d-a8d7-134c4abb0246
+ - ab5d9fdb-0e9d-4b4a-ade1-6c591ac6556b
tasks:
- test: |
cd chantpointer
@@ 18,7 17,7 @@ tasks:
go build -o bin/server
- deploy: |
cd chantpointer
- rsync -r bin $deploy:/home/chantpointer/deploy
- rsync -r static $deploy:/home/chantpointer/deploy
- rsync -r templates $deploy:/home/chantpointer/deploy
- ssh $deploy "sudo systemctl restart chantpointer"
+ rsync -r bin chantpointer:/home/chantpointer/deploy
+ rsync -r static chantpointer:/home/chantpointer/deploy
+ rsync -r templates chantpointer:/home/chantpointer/deploy
+ ssh chantpointer "sudo systemctl restart chantpointer"