~sumner/quadratic-solver

c01afb7db040cf39db2546281f9bc7ff4ed6514b — Sumner Evans 6 months ago a00cc6e
remove dependency on SSH known hosts
1 files changed, 2 insertions(+), 2 deletions(-)

M .build.yml
M .build.yml => .build.yml +2 -2
@@ 5,8 5,6 @@ packages:
sources:
  - https://git.sr.ht/~sumner/quadratic-solver
secrets:
  # SSH Known Hosts
  - 5f8876fe-b2b7-44f8-8ad5-6fa9bffbc52a
  # SSH Deploy Key
  - f219888a-80af-4275-a777-89e8c7d277f0
environment:


@@ 28,6 26,8 @@ tasks:
      git branch --contains | grep master || echo "Skipping deploy since not on master"
      git branch --contains | grep master || complete-build

      ssh-keyscan bespin.sumnerevans.com >> ~/.ssh/known_hosts

      # Copy the website over to the server
      ssh root@bespin.sumnerevans.com "mkdir -p /var/www/${WEBSITE_NAME}" &&
      rsync -vr --delete-after builds/ root@bespin.sumnerevans.com:/var/www/${WEBSITE_NAME}