Update deploy-via-ssh.yml

This commit is contained in:
Jared 2020-09-24 23:48:21 -07:00 committed by Jared Goodwin
parent 4870373c87
commit b238f2c836

View File

@ -169,11 +169,11 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
# public keys of SSH servers
known_hosts: ${{ secrets.SSH_HOSTNAME }}
- name: Publish
shell: bash
run: |
rsync -r -v -W "$GITHUB_WORKSPACE/Server/bin/Release/publish" $SshUsername@$SshHostname:/var/www/remotely/
scp -r "$GITHUB_WORKSPACE/Server/bin/Release/publish" $SshUsername@$SshHostname:/var/www/remotely/
# Remove the pfx