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