image: archlinux packages: - go - rsync sources: - https://git.sr.ht/~reesmichael1/chantpointer secrets: - 5c21e93c-6d8e-410a-9ae4-35dcc51acd8c - b2db3c75-f665-474d-a8d7-134c4abb0246 - ab5d9fdb-0e9d-4b4a-ade1-6c591ac6556b tasks: - test: | cd chantpointer go test - build: | cd chantpointer go build -o bin/server - deploy: | cd 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"