FIX WORKFLOW FINALLY?
All checks were successful
/ Build static site, docker image, upload artifact... (push) Successful in 1m2s
/ Connect to deployment host, update, and redeploy docs website. (push) Successful in 20s

This commit is contained in:
2024-09-06 00:02:48 -07:00
parent 8d3eb79baf
commit 70b474da99

View File

@@ -87,12 +87,12 @@ jobs:
SSH_HOST: ${{ secrets.DEPLOYMENT_HOST }}
run: |
mkdir -p ~/.ssh/
echo "$DEPLOYMENT_KEY" > ~/.ssh/staging.key
echo "$SSH_KEY" > ~/.ssh/staging.key
chmod 600 ~/.ssh/staging.key
cat >> ~/.ssh/config <<END
Host staging
HostName $DEPLOYMENT_HOST
User $DEPLOYMENT_USER
HostName $SSH_HOST
User $SSH_USER
IdentityFile ~/.ssh/staging.key
StrictHostKeyChecking no
END