fix: install rsync before deploy sync step
The Gitea runner ubuntu-latest image lacks rsync, causing the Sync-to-deploy-path step to fail with exit code 127. Added apt-get install rsync before the sync step.
This commit is contained in:
@@ -37,6 +37,9 @@ jobs:
|
||||
- name: Checkout latest code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install rsync
|
||||
run: apt-get update -qq && apt-get install -y -qq rsync
|
||||
|
||||
- name: Sync to deploy path
|
||||
run: |
|
||||
rsync -a --delete \
|
||||
|
||||
Reference in New Issue
Block a user