~whereswaldon/sprout-go

80f764229b704a32dce78dd676cc1c3c003e7be6 — Chris Waldon 7 months ago ee4d00d
ci/cd: scan host keys before deploying relay
1 files changed, 1 insertions(+), 0 deletions(-)

M .builds/arch.yml
M .builds/arch.yml => .builds/arch.yml +1 -0
@@ 28,6 28,7 @@ tasks:
  - deploy: |
      cd sprout-go/cmd/relay
      go build
      ssh-keyscan arbor.chat >> ~/.ssh/known_hosts
      scp relay chris@arbor.chat:/usr/local/bin/relay-new
      ssh chris@arbor.chat -- "mv /usr/local/bin/relay{,-old}; mv /usr/local/bin/relay{-new,}"