pds dash for shimaenaga.veryroundbird.house (based off of pds.witchcraft.systems)

add deploy config back in

+12 -1
+12 -1
.tangled/workflows/build.yml
··· 37 37 mkdir ~/.ssh 38 38 echo "${SSH_KEY}" > ~/.ssh/id_tangledsh 39 39 chmod 600 ~/.ssh/id_tangledsh 40 + cat > ~/.ssh/config << EOF 41 + Host deploy 42 + HostName ${SERVER_HOST} 43 + User ${SERVER_USER} 44 + IdentityFile ~/.ssh/id_tangledsh 45 + StrictHostKeyChecking accept-new 46 + BatchMode yes 47 + PasswordAuthentication no 48 + PubkeyAuthentication yes 49 + EOF 50 + chmod 600 ~/.ssh/config 40 51 ssh-keyscan -H $SERVER_HOST > ~/.ssh/known_hosts 41 52 42 53 - name: "Check SSH connection" ··· 47 58 - name: "Deploy via SCP" 48 59 command: | 49 60 echo "🪶 deploying files via scp" 50 - scp -r ./dist/* $SERVER_USER@$SERVER_HOST:/pds/caddy/etc/caddy/static 61 + scp -r ./dist/* deploy:/pds/caddy/etc/caddy/static 51 62 52 63 - name: "Done!" 53 64 command: |