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 run: hugo
- name: Deploy to Host - name: Deploy to Host
uses: https://github.com/SamKirkland/web-deploy@v1 uses: https://github.com/appleboy/scp-action@v0.1.7
with: with:
target-server: ${{ secrets.SSH_HOST }} host: ${{ secrets.SSH_HOST }}
remote-user: wiki-deploy username: ${{ secrets.SSH_USERNAME }}
source-path: ./public key: ${{ secrets.SSH_PRIV_KEY }}
private-ssh-key: ${{ secrets.SSH_PRIV_KEY }} passphrase: ${{ secrets.SSH_PASSPHRASE }}
password: ${{ secrets.SSH_PASSPHRASE }} port: ${{ secrets.SSH_PORT }}
destination-path: /var/www/wiki.lunivity.com/ source: "public/"
target: "/var/www/wiki.lunivity.com/"
# - 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