1
0
Fork 0

fixed rsync install step in deploy action
Some checks failed
hugo-deploy / deploy (push) Failing after 51s

This commit is contained in:
Mia Rose Winter 2024-06-02 18:58:50 +02:00
parent f025f58566
commit 52587c6f31
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E

View file

@ -28,6 +28,8 @@ jobs:
chmod 700 ~/.ssh
echo "${{ secrets.KNOWN_HOST_KEY }}" > ~/.ssh/known_hosts
- name: Install rsync
run: apk add rsync
run: |
apt-get update
apt-get install rsync
- name: Deploy with rsync
run: rsync -atv --delete --progress --checksum --whole-file -e ssh dist/ ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }}:${{ secrets.DEPLOY_LOCATION }}