This commit is contained in:
parent
a38a07aab8
commit
90740f7e6c
1 changed files with 11 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue