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