added rsync install step to deploy action
Some checks failed
hugo-deploy / deploy (push) Failing after 41s
Some checks failed
hugo-deploy / deploy (push) Failing after 41s
This commit is contained in:
parent
2f92048bc5
commit
f025f58566
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue