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 }} SSH_HOST: ${{ secrets.DEPLOYMENT_HOST }}
run: | run: |
mkdir -p ~/.ssh/ mkdir -p ~/.ssh/
echo "$DEPLOYMENT_KEY" > ~/.ssh/staging.key echo "$SSH_KEY" > ~/.ssh/staging.key
chmod 600 ~/.ssh/staging.key chmod 600 ~/.ssh/staging.key
cat >> ~/.ssh/config <<END cat >> ~/.ssh/config <<END
Host staging Host staging
HostName $DEPLOYMENT_HOST HostName $SSH_HOST
User $DEPLOYMENT_USER User $SSH_USER
IdentityFile ~/.ssh/staging.key IdentityFile ~/.ssh/staging.key
StrictHostKeyChecking no StrictHostKeyChecking no
END END