Browse Source

Restart app server after build has uploaded

main
Jeremy Boles 1 week ago
parent
commit
aa333c62c7
Signed by: jb
GPG Key ID: 7DE0508F61CB57DF
  1. 1
      .woodpecker.yml

1
.woodpecker.yml

@ -30,6 +30,7 @@ pipeline:
- mix release
- rsync --checksum --chmod=775 --compress --copy-links --delete --human-readable --partial --recursive --rsh="ssh -i ~/.ssh/id_ed25519" _build/prod/ deploy@jeremyboles.com:/srv/ann/build/
- ssh -i ~/.ssh/id_ed25519 -tt deploy@jeremyboles.com "sudo systemctl restart ann"
secrets:
- SSH_KNOWN_HOSTS
- SSH_PRIVATE_KEY

Loading…
Cancel
Save