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
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue