1
0
Fork 0

added rsync install step to deploy action
Some checks failed
hugo-deploy / deploy (push) Failing after 41s

This commit is contained in:
Mia Rose Winter 2024-06-02 18:57:26 +02:00
parent 2f92048bc5
commit f025f58566
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E

View file

@ -27,5 +27,7 @@ jobs:
mkdir -p ~/.ssh
chmod 700 ~/.ssh
echo "${{ secrets.KNOWN_HOST_KEY }}" > ~/.ssh/known_hosts
- name: Install rsync
run: apk add 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 }}