Different method for privkey.
Deploy Hugo Site / Check and Create PR (push) Successful in 54s
Deploy Hugo Site / Hugo Sanity Check (push) Successful in 25s
Deploy Hugo Site / PR Merge (push) Successful in 32s
Deploy Hugo Site / Build and Deploy to Server (push) Failing after 43s

This commit is contained in:
2025-07-22 15:29:33 -04:00
parent a181e255bc
commit 3dfeb70683
+3 -4
View File
@@ -155,6 +155,8 @@ jobs:
extended: true
- name: Setup rsync
uses: GuillaumeFalourd/setup-rsync@v1.2
with:
ssh-key: ${{ secrets.VPS_DEPLOY_KEY }}
- name: Gotify Notification
uses: eikendev/gotify-action@master
with:
@@ -169,12 +171,9 @@ jobs:
VPS_DEPLOY_HOST: ${{ secrets.HUGO_SITE_HOST }}
VPS_DEPLOY_DEST: ${{ secrets.VPS_DEPLOY_DEST }}
run: |
echo ${{ secrets.VPS_DEPLOY_KEY }} > id_rsa_deploy
chmod 600 id_rsa_deploy
hugo version
hugo --minify --source .
rsync --progress -avz -e 'ssh -i id_rsa_deploy -o StrictHostKeyChecking=no' \
./public ${VPS_DEPLOY_USER}@${VPS_DEPLOY_HOST}:${VPS_DEPLOY_DEST}
rsync --progress -avz ./public ${VPS_DEPLOY_USER}@${VPS_DEPLOY_HOST}:${VPS_DEPLOY_DEST}
- name: Start Hugo Container
uses: appleboy/ssh-action@v1.0.3
with: