Auto Merge of PR 3 - workflow-test-run_2025-07-21T13-30-22
Merged by Trez.One
This commit was merged in pull request #3.
This commit is contained in:
@@ -157,28 +157,35 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
hugo-version: "latest"
|
hugo-version: "latest"
|
||||||
extended: true
|
extended: true
|
||||||
- name: Generate and deploy website
|
- name: Generate & deploy site
|
||||||
uses: ronvanderheijden/hugo-rsync-deployment@master
|
run: |
|
||||||
env:
|
hugo version
|
||||||
VPS_DEPLOY_KEY: ${{ secrets.VPS_DEPLOY_KEY }}
|
hugo --minify
|
||||||
VPS_DEPLOY_USER: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
hugo --source .
|
||||||
VPS_DEPLOY_HOST: ${{ secrets.HUGO_SITE_HOST }}
|
ls -al
|
||||||
VPS_DEPLOY_DEST: /home/charish/.docker/config/appdata/hugo
|
|
||||||
with:
|
# - name: Generate and deploy website
|
||||||
hugo-arguments: '--minify'
|
# uses: ronvanderheijden/hugo-rsync-deployment@master
|
||||||
rsync-arguments: '--archive --dry-run --compress --xattrs --delete'
|
# env:
|
||||||
- name: Restart Hugo Container (Optional)
|
# VPS_DEPLOY_KEY: ${{ secrets.VPS_DEPLOY_KEY }}
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
# VPS_DEPLOY_USER: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
||||||
with:
|
# VPS_DEPLOY_HOST: ${{ secrets.HUGO_SITE_HOST }}
|
||||||
host: ${{ secrets.HUGO_SITE_HOST }}
|
# VPS_DEPLOY_DEST: /home/charish/.docker/config/appdata/hugo
|
||||||
username: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
# with:
|
||||||
password: ${{ secrets.HUGO_DEPLOY_PASSWORD }}
|
# hugo-arguments: '--minify --source .'
|
||||||
script: |
|
# rsync-arguments: '--archive --dry-run --compress --xattrs --delete'
|
||||||
docker restart hugo
|
# - name: Restart Hugo Container (Optional)
|
||||||
- name: Gotify Notification
|
# uses: appleboy/ssh-action@v1.0.3
|
||||||
uses: eikendev/gotify-action@master
|
# with:
|
||||||
with:
|
# host: ${{ secrets.HUGO_SITE_HOST }}
|
||||||
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
|
# username: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
||||||
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
# password: ${{ secrets.HUGO_DEPLOY_PASSWORD }}
|
||||||
notification_title: 'GITEA: Hugo'
|
# script: |
|
||||||
notification_message: 'Hugo deployment successful!'
|
# docker restart hugo
|
||||||
|
# - name: Gotify Notification
|
||||||
|
# uses: eikendev/gotify-action@master
|
||||||
|
# with:
|
||||||
|
# gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
|
||||||
|
# gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
|
||||||
|
# notification_title: 'GITEA: Hugo'
|
||||||
|
# notification_message: 'Hugo deployment successful!'
|
||||||
Reference in New Issue
Block a user