Messing around with rsync more...
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user