diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 4d87e7f..52b0418 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -10,6 +10,15 @@ jobs: with: fetch-depth: 1 + - name: Install dependencies + run: | + # If using Alpine-based runner (standard) + if command -v apk >/dev/null; then + apk add --no-cache rsync + # If using Ubuntu/Debian-based runner + elif command -v apt-get >/dev/null; then + apt-get update && apt-get install -y rsync + fi - name: Sync and Launch Nextcloud run: | mkdir -p /opt/docker/nextcloud