This commit is contained in:
parent
d9086a946f
commit
7cf4d7a75a
1 changed files with 12 additions and 9 deletions
|
@ -25,12 +25,15 @@ jobs:
|
||||||
run: hugo
|
run: hugo
|
||||||
|
|
||||||
- name: Deploy to SSH Host
|
- name: Deploy to SSH Host
|
||||||
uses: https://github.com/Creepios/sftp-action@v1.0.5
|
run: rsync -avz --delete -e "ssh -i ${{ secrets.SSH_PRIV_KEY }} -o StrictHostKeyChecking=no" ./public/ wiki-deploy@${{ secrets.SSH_HOST }}:/var/www/wiki.lunivity.com/
|
||||||
with:
|
|
||||||
host: ${{ secrets.SSH_HOST }}
|
# - name: Deploy to SSH Host
|
||||||
port: 22
|
# uses: https://github.com/Creepios/sftp-action@v1.0.5
|
||||||
username: wiki-deploy
|
# with:
|
||||||
privateKey: ${{ secrets.SSH_PRIV_KEY }}
|
# host: ${{ secrets.SSH_HOST }}
|
||||||
passphrase: ${{ secrets.SSH_PASSPHRASE }}
|
# port: 22
|
||||||
localPath: './public'
|
# username: wiki-deploy
|
||||||
remotePath: '/var/www/wiki.lunivity.com/'
|
# privateKey: ${{ secrets.SSH_PRIV_KEY }}
|
||||||
|
# passphrase: ${{ secrets.SSH_PASSPHRASE }}
|
||||||
|
# localPath: './public'
|
||||||
|
# remotePath: '/var/www/wiki.lunivity.com/'
|
||||||
|
|
Loading…
Reference in a new issue