Auto Merge of PR 17 - workflow-test-run_2025-07-21T13-30-22
Merged by Trez.One
This commit was merged in pull request #17.
This commit is contained in:
@@ -164,15 +164,6 @@ jobs:
|
|||||||
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
||||||
notification_title: 'GITEA: Hugo'
|
notification_title: 'GITEA: Hugo'
|
||||||
notification_message: 'Starting Hugo deployment... 🤞🏽'
|
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
|
- name: Generate Hugo Site & Deploy for Docker
|
||||||
env:
|
env:
|
||||||
VPS_DEPLOY_USER: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
VPS_DEPLOY_USER: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
||||||
@@ -182,7 +173,7 @@ jobs:
|
|||||||
hugo version
|
hugo version
|
||||||
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: Restart Hugo Container
|
||||||
uses: appleboy/ssh-action@v1.2.2
|
uses: appleboy/ssh-action@v1.2.2
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HUGO_SITE_HOST }}
|
host: ${{ secrets.HUGO_SITE_HOST }}
|
||||||
|
|||||||
Reference in New Issue
Block a user