Tshooting rsync #I-lost-count...
This commit is contained in:
@@ -109,12 +109,17 @@ jobs:
|
|||||||
uses: GuillaumeFalourd/setup-rsync@v1.2
|
uses: GuillaumeFalourd/setup-rsync@v1.2
|
||||||
with:
|
with:
|
||||||
ssh_key: ${{ secrets.VPS_DEPLOY_KEY }}
|
ssh_key: ${{ secrets.VPS_DEPLOY_KEY }}
|
||||||
|
- name: Deploy key path
|
||||||
|
id: deploy_key_path
|
||||||
|
run: |
|
||||||
|
deploy_key_path=$(echo "SSK KEY PATH ${{ steps.setup_rsync.outputs.ssh_key_path }}")
|
||||||
|
echo "dkp=$deploy_key_path" >> $GITHUB_OUTPUT
|
||||||
- name: Testing rsync
|
- name: Testing rsync
|
||||||
env:
|
env:
|
||||||
VPS_DEPLOY_USER: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
VPS_DEPLOY_USER: ${{ secrets.HUGO_DEPLOY_USERNAME }}
|
||||||
VPS_DEPLOY_HOST: ${{ secrets.HUGO_SITE_HOST }}
|
VPS_DEPLOY_HOST: ${{ secrets.HUGO_SITE_HOST }}
|
||||||
VPS_DEPLOY_DEST: ${{ secrets.VPS_DEPLOY_DEST }}
|
VPS_DEPLOY_DEST: ${{ secrets.VPS_DEPLOY_DEST }}
|
||||||
VPS_DEPLOY_KEY: ${{ steps.setup_rsync.outputs.ssh_key_path }}
|
VPS_DEPLOY_KEY: ${{ steps.deploy_key_path.outputs.deploy_key_path }}
|
||||||
run: |
|
run: |
|
||||||
rsync -e 'ssh -i $VPS_DEPLOY_KEY -o StrictHostKeyChecking=no' -avz --progress --dry-run README.md charish@${VPS_DEPLOY_HOST}:${VPS_DEPLOY_DEST}
|
rsync -e 'ssh -i $VPS_DEPLOY_KEY -o StrictHostKeyChecking=no' -avz --progress --dry-run README.md charish@${VPS_DEPLOY_HOST}:${VPS_DEPLOY_DEST}
|
||||||
- name: Gotify Notification
|
- name: Gotify Notification
|
||||||
|
|||||||
Reference in New Issue
Block a user