name: Sync Source new on: push: branches: - main - develop jobs: sync: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Debug run: | pwd ls -la / ls -la /data || true - name: Install rsync run: | apt-get update apt-get install -y rsync - name: Sync source run: | mkdir -p /data/source/my-project rsync -a --delete \ ./ \ /data/source/my-project/