diff --git a/.github/workflows/update-episodes.yml b/.github/workflows/update-episodes.yml index fe31dc92..0a46a870 100644 --- a/.github/workflows/update-episodes.yml +++ b/.github/workflows/update-episodes.yml @@ -41,8 +41,8 @@ jobs: - name: Move files run: | ls -RF - rsync -t --delete output/carpentries/*.md episodes - rsync -t --delete output/carpentries/code/ ./code + rsync -t -d --delete output/carpentries/*.md episodes + rsync -t -r --delete output/carpentries/code/ ./code - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: