From 63120aaf1b37a94de6fa8953a95f1d540464da8b Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Thu, 19 Oct 2023 16:31:39 +0100 Subject: [PATCH] fix: ssh key write --- .github/workflows/pages.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index b30998e..96f007e 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -82,7 +82,9 @@ jobs: echo "Missing deploy credentials" else # install ssh key + mkdir ~/.ssh echo "$SSH_KEY" >> ~/.ssh/id_rsa + chmod -R 600 .ssh # perform copy rsync -avvz build/ $SSH_USERNAME@$SSH_HOST:$DEPLOY_PATH