Auto Merge of PR 16 - workflow-test-run_2025-07-21T13-30-22
Merged by Trez.One
This commit was merged in pull request #16.
This commit is contained in:
@@ -165,11 +165,12 @@ jobs:
|
|||||||
notification_title: 'GITEA: Hugo'
|
notification_title: 'GITEA: Hugo'
|
||||||
notification_message: 'Starting Hugo deployment... 🤞🏽'
|
notification_message: 'Starting Hugo deployment... 🤞🏽'
|
||||||
- name: Stopping Hugo Container
|
- name: Stopping Hugo Container
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
uses: appleboy/ssh-action@v1.2.2
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HUGO_SITE_HOST }}
|
host: ${{ secrets.HUGO_SITE_HOST }}
|
||||||
username: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
username: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
||||||
password: ${{ secrets.HUGO_DEPLOY_PASSWORD }}
|
password: ${{ secrets.HUGO_DEPLOY_PASSWORD }}
|
||||||
|
key: ${{ secrets.VPS_DEPLOY_KEY }}
|
||||||
script: |
|
script: |
|
||||||
docker version
|
docker version
|
||||||
- name: Generate Hugo Site & Deploy for Docker
|
- name: Generate Hugo Site & Deploy for Docker
|
||||||
@@ -182,11 +183,12 @@ jobs:
|
|||||||
hugo --minify --source .
|
hugo --minify --source .
|
||||||
rsync --progress -avz -e 'ssh -o StrictHostKeyChecking=no' ./public ${VPS_DEPLOY_USER}@${VPS_DEPLOY_HOST}:${VPS_DEPLOY_DEST}
|
rsync --progress -avz -e 'ssh -o StrictHostKeyChecking=no' ./public ${VPS_DEPLOY_USER}@${VPS_DEPLOY_HOST}:${VPS_DEPLOY_DEST}
|
||||||
- name: Start Hugo Container
|
- name: Start Hugo Container
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
uses: appleboy/ssh-action@v1.2.2
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HUGO_SITE_HOST }}
|
host: ${{ secrets.HUGO_SITE_HOST }}
|
||||||
username: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
username: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
||||||
password: ${{ secrets.HUGO_DEPLOY_PASSWORD }}
|
password: ${{ secrets.HUGO_DEPLOY_PASSWORD }}
|
||||||
|
key: ${{ secrets.VPS_DEPLOY_KEY }}
|
||||||
script: |
|
script: |
|
||||||
docker container restart hugo
|
docker container restart hugo
|
||||||
- name: Gotify Notification
|
- name: Gotify Notification
|
||||||
|
|||||||
Reference in New Issue
Block a user