Change SSH User and change to appleboy's SCP Action
All checks were successful
/ deploy (push) Successful in 13s

This commit is contained in:
Sangelo 2024-01-10 21:15:26 +01:00
parent 70cc7213d1
commit f6758a8584

View file

@ -25,14 +25,15 @@ jobs:
run: hugo
- name: Deploy to Host
uses: https://github.com/SamKirkland/web-deploy@v1
uses: https://github.com/appleboy/scp-action@v0.1.7
with:
target-server: ${{ secrets.SSH_HOST }}
remote-user: wiki-deploy
source-path: ./public
private-ssh-key: ${{ secrets.SSH_PRIV_KEY }}
password: ${{ secrets.SSH_PASSPHRASE }}
destination-path: /var/www/wiki.lunivity.com/
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIV_KEY }}
passphrase: ${{ secrets.SSH_PASSPHRASE }}
port: ${{ secrets.SSH_PORT }}
source: "public/"
target: "/var/www/wiki.lunivity.com/"
# - name: Deploy to SSH Host
# uses: https://github.com/Creepios/sftp-action@v1.0.5