diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 8390d55f5..41d4c112a 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -58,6 +58,12 @@ jobs: - 'ui/**' upload-api: - 'upload-api/**' + migration-sitecore: + - 'upload-api/migration-sitecore/**' + migration-contentful: + - 'upload-api/migration-contentful/**' + migration-wordpress: + - 'upload-api/migration-wordpress/**' index: - 'index.js' @@ -75,6 +81,7 @@ jobs: steps.file_changes.outputs.cli == 'true' || steps.file_changes.outputs.ui == 'true' || steps.file_changes.outputs.upload-api == 'true' || + steps.file_changes.outputs.migration-sitecore == 'true' || steps.file_changes.outputs.index == 'true' ) run: | @@ -85,6 +92,7 @@ jobs: rsync -av --delete ../cli/ ./cli/ rsync -av --delete ../ui/ ./ui/ rsync -av --delete ${{ env.RSYNC_SITECORE_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/ ./upload-api/ + rsync -av --delete ../upload-api/migration-sitecore ./upload-api/migration-sitecore git add . git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}" git push origin sync-from-migration-v2-${{ github.event.pull_request.number }} @@ -97,6 +105,7 @@ jobs: steps.file_changes.outputs.cli == 'true' || steps.file_changes.outputs.ui == 'true' || steps.file_changes.outputs.upload-api == 'true' || + steps.file_changes.outputs.migration-sitecore == 'true' || steps.file_changes.outputs.index == 'true' ) run: | @@ -116,6 +125,7 @@ jobs: steps.file_changes.outputs.cli == 'true' || steps.file_changes.outputs.ui == 'true' || steps.file_changes.outputs.upload-api == 'true' || + steps.file_changes.outputs.migration-contentful == 'true' || steps.file_changes.outputs.index == 'true' ) run: | @@ -126,6 +136,7 @@ jobs: rsync -av --delete ../cli/ ./cli/ rsync -av --delete ../ui/ ./ui/ rsync -av --delete ${{ env.RSYNC_CONTENTFUL_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/ ./upload-api/ + rsync -av --delete ../upload-api/migration-contentful ./upload-api/migration-contentful git add . git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}" git push origin sync-from-migration-v2-${{ github.event.pull_request.number }} @@ -138,6 +149,7 @@ jobs: steps.file_changes.outputs.cli == 'true' || steps.file_changes.outputs.ui == 'true' || steps.file_changes.outputs.upload-api == 'true' || + steps.file_changes.outputs.migration-contentful == 'true' || steps.file_changes.outputs.index == 'true' ) run: | @@ -157,6 +169,7 @@ jobs: steps.file_changes.outputs.cli == 'true' || steps.file_changes.outputs.ui == 'true' || steps.file_changes.outputs.upload-api == 'true' || + steps.file_changes.outputs.migration-wordpress == 'true' || steps.file_changes.outputs.index == 'true' ) run: | @@ -167,6 +180,7 @@ jobs: rsync -av --delete ../cli/ ./cli/ rsync -av --delete ../ui/ ./ui/ rsync -av --delete ${{ env.RSYNC_WORDPRESS_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/ ./upload-api/ + rsync -av --delete ../upload-api/migration-wordpress ./upload-api/migration-wordpress git add . git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}" git push origin sync-from-migration-v2-${{ github.event.pull_request.number }} @@ -179,6 +193,7 @@ jobs: steps.file_changes.outputs.cli == 'true' || steps.file_changes.outputs.ui == 'true' || steps.file_changes.outputs.upload-api == 'true' || + steps.file_changes.outputs.migration-wordpress == 'true' || steps.file_changes.outputs.index == 'true' ) run: |