Install rsync
Some checks failed
/ deploy (push) Failing after 13s

This commit is contained in:
Sangelo 2024-01-10 17:11:24 +01:00
parent 7cf4d7a75a
commit 2cd4bb70f5

View file

@ -10,10 +10,10 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
# - name: Install Dependencies
# run: |
# apt-get update
# apt-get install -y golang-go
- name: Install Dependencies
run: |
apt-get update
apt-get install -y rsync
- name: Setup Hugo
uses: https://github.com/peaceiris/actions-hugo@v2
@ -25,7 +25,8 @@ jobs:
run: hugo
- name: Deploy to SSH Host
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/
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/
# - name: Deploy to SSH Host
# uses: https://github.com/Creepios/sftp-action@v1.0.5