Messing around with rsync more...
Deploy Hugo Site / Check and Create PR (push) Successful in 35s
Deploy Hugo Site / Hugo Sanity Check (push) Successful in 19s
Deploy Hugo Site / PR Merge (push) Successful in 32s
Deploy Hugo Site / Build and Deploy to Server (push) Failing after 39s

This commit is contained in:
2025-07-22 16:23:47 -04:00
parent ae09683221
commit 92263a10b0
+1 -10
View File
@@ -164,15 +164,6 @@ jobs:
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Hugo'
notification_message: 'Starting Hugo deployment... 🤞🏽'
- name: Stopping Hugo Container
uses: appleboy/ssh-action@v1.2.2
with:
host: ${{ secrets.HUGO_SITE_HOST }}
username: ${{ secrets.HUGO_DEPLOY_USERNAME }}
password: ${{ secrets.HUGO_DEPLOY_PASSWORD }}
key: ${{ secrets.VPS_DEPLOY_KEY }}
script: |
docker version
- name: Generate Hugo Site & Deploy for Docker
env:
VPS_DEPLOY_USER: ${{ secrets.HUGO_DEPLOY_USERNAME }}
@@ -182,7 +173,7 @@ jobs:
hugo version
hugo --minify --source .
rsync --progress -avz -e 'ssh -o StrictHostKeyChecking=no' ./public ${VPS_DEPLOY_USER}@${VPS_DEPLOY_HOST}:${VPS_DEPLOY_DEST}
- name: Start Hugo Container
- name: Restart Hugo Container
uses: appleboy/ssh-action@v1.2.2
with:
host: ${{ secrets.HUGO_SITE_HOST }}