Change to custom SSH deploy
Some checks failed
/ deploy (push) Failing after 8s

This commit is contained in:
Sangelo 2024-01-10 17:09:26 +01:00
parent d9086a946f
commit 7cf4d7a75a

View file

@ -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/'