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

????????

Changed files
+5 -4
.tangled
workflows
+5 -4
.tangled/workflows/build.yml
···
mkdir ~/.ssh
echo "${SSH_KEY}" > ~/.ssh/id_tangledsh
chmod 600 ~/.ssh/id_tangledsh
-
cat > ~/.ssh/config << EOF
+
cat > /etc/ssh/ssh_config << EOF
Host deploy
HostName ${SERVER_HOST}
User ${SERVER_USER}
IdentityFile ~/.ssh/id_tangledsh
-
StrictHostKeyChecking accept-new
+
StrictHostKeyChecking no
+
UserKnownHostsFile /dev/null
BatchMode yes
PasswordAuthentication no
PubkeyAuthentication yes
EOF
-
chmod 600 ~/.ssh/config
-
ssh-keyscan -H $SERVER_HOST > ~/.ssh/known_hosts
+
chmod 600 /etc/ssh/ssh_config
+
ssh-keyscan -H $SERVER_HOST >> ~/.ssh/known_hosts
- name: "Deploy via SCP"
command: |