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
|
# 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
|
||||||
|
uses: https://github.com/mschmitt/rsync-with-ssh-agent@v2
|
||||||
with:
|
with:
|
||||||
SSH_KEY: ${{ secrets.SSH_PRIV_KEY }}
|
SSH_KEY: ${{ secrets.SSH_PRIV_KEY }}
|
||||||
SSH_PASSPHRASE: ${{ secrets.SSH_PASSPHRASE }}
|
SSH_PASSPHRASE: ${{ secrets.SSH_PASSPHRASE }}
|
||||||
SSH_USER: wiki-deploy
|
SSH_USER: wiki-deploy
|
||||||
SSH_HOST: ${{ secrets.SSH_HOST }}
|
SSH_HOST: ${{ secrets.SSH_HOST }}
|
||||||
SSH_PORT: ${{ secrets.SSH_PORT }}
|
SSH_PORT: ${{ secrets.SSH_PORT }}
|
||||||
RSYNC_LOCAL_PATH: './public'
|
RSYNC_LOCAL_PATH: './public'
|
||||||
RSYNC_REMOTE_PATH: '/var/www/wiki.lunivity.com/'
|
RSYNC_REMOTE_PATH: '/var/www/wiki.lunivity.com/'
|
||||||
RSYNC_OPTIONS: '--recursive --delete --delete-before --verbose --dry-run'
|
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
|
||||||
|
|
Loading…
Reference in a new issue