Yet another try
All checks were successful
/ deploy (push) Successful in 13s

This commit is contained in:
Sangelo 2024-01-10 17:31:11 +01:00
parent a38a07aab8
commit 90740f7e6c

View file

@ -39,16 +39,17 @@ jobs:
# rm -rf ~/.ssh
# echo "SSH Key removed."
- uses: https://github.com/mschmitt/rsync-with-ssh-agent@v2
with:
SSH_KEY: ${{ secrets.SSH_PRIV_KEY }}
SSH_PASSPHRASE: ${{ secrets.SSH_PASSPHRASE }}
SSH_USER: wiki-deploy
SSH_HOST: ${{ secrets.SSH_HOST }}
SSH_PORT: ${{ secrets.SSH_PORT }}
RSYNC_LOCAL_PATH: './public'
RSYNC_REMOTE_PATH: '/var/www/wiki.lunivity.com/'
RSYNC_OPTIONS: '--recursive --delete --delete-before --verbose --dry-run'
- name: Deploy to Host
uses: https://github.com/mschmitt/rsync-with-ssh-agent@v2
with:
SSH_KEY: ${{ secrets.SSH_PRIV_KEY }}
SSH_PASSPHRASE: ${{ secrets.SSH_PASSPHRASE }}
SSH_USER: wiki-deploy
SSH_HOST: ${{ secrets.SSH_HOST }}
SSH_PORT: ${{ secrets.SSH_PORT }}
RSYNC_LOCAL_PATH: './public'
RSYNC_REMOTE_PATH: '/var/www/wiki.lunivity.com/'
RSYNC_OPTIONS: '--recursive --delete --delete-before --verbose --dry-run'
# - name: Deploy to SSH Host
# uses: https://github.com/Creepios/sftp-action@v1.0.5