Skip to content

Commit bd959b6

Browse files
committed
workflow CHANGES
1 parent b565274 commit bd959b6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/repo-sync.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ jobs:
5858
- 'ui/**'
5959
upload-api:
6060
- 'upload-api/**'
61+
migration-sitecore:
62+
- 'upload-api/migration-sitecore/**'
63+
migration-contentful:
64+
- 'upload-api/migration-contentful/**'
65+
migration-wordpress:
66+
- 'upload-api/migration-wordpress/**'
6167
index:
6268
- 'index.js'
6369
@@ -75,6 +81,7 @@ jobs:
7581
steps.file_changes.outputs.cli == 'true' ||
7682
steps.file_changes.outputs.ui == 'true' ||
7783
steps.file_changes.outputs.upload-api == 'true' ||
84+
steps.file_changes.outputs.migration-sitecore == 'true' ||
7885
steps.file_changes.outputs.index == 'true'
7986
)
8087
run: |
@@ -85,6 +92,7 @@ jobs:
8592
rsync -av --delete ../cli/ ./cli/
8693
rsync -av --delete ../ui/ ./ui/
8794
rsync -av --delete ${{ env.RSYNC_SITECORE_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/ ./upload-api/
95+
rsync -av --delete ../upload-api/migration-sitecore ./upload-api/migration-sitecore
8896
git add .
8997
git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}"
9098
git push origin sync-from-migration-v2-${{ github.event.pull_request.number }}
@@ -97,6 +105,7 @@ jobs:
97105
steps.file_changes.outputs.cli == 'true' ||
98106
steps.file_changes.outputs.ui == 'true' ||
99107
steps.file_changes.outputs.upload-api == 'true' ||
108+
steps.file_changes.outputs.migration-sitecore == 'true' ||
100109
steps.file_changes.outputs.index == 'true'
101110
)
102111
run: |
@@ -116,6 +125,7 @@ jobs:
116125
steps.file_changes.outputs.cli == 'true' ||
117126
steps.file_changes.outputs.ui == 'true' ||
118127
steps.file_changes.outputs.upload-api == 'true' ||
128+
steps.file_changes.outputs.migration-contentful == 'true' ||
119129
steps.file_changes.outputs.index == 'true'
120130
)
121131
run: |
@@ -126,6 +136,7 @@ jobs:
126136
rsync -av --delete ../cli/ ./cli/
127137
rsync -av --delete ../ui/ ./ui/
128138
rsync -av --delete ${{ env.RSYNC_CONTENTFUL_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/ ./upload-api/
139+
rsync -av --delete ../upload-api/migration-contentful ./upload-api/migration-contentful
129140
git add .
130141
git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}"
131142
git push origin sync-from-migration-v2-${{ github.event.pull_request.number }}
@@ -138,6 +149,7 @@ jobs:
138149
steps.file_changes.outputs.cli == 'true' ||
139150
steps.file_changes.outputs.ui == 'true' ||
140151
steps.file_changes.outputs.upload-api == 'true' ||
152+
steps.file_changes.outputs.migration-contentful == 'true' ||
141153
steps.file_changes.outputs.index == 'true'
142154
)
143155
run: |
@@ -157,6 +169,7 @@ jobs:
157169
steps.file_changes.outputs.cli == 'true' ||
158170
steps.file_changes.outputs.ui == 'true' ||
159171
steps.file_changes.outputs.upload-api == 'true' ||
172+
steps.file_changes.outputs.migration-wordpress == 'true' ||
160173
steps.file_changes.outputs.index == 'true'
161174
)
162175
run: |
@@ -167,6 +180,7 @@ jobs:
167180
rsync -av --delete ../cli/ ./cli/
168181
rsync -av --delete ../ui/ ./ui/
169182
rsync -av --delete ${{ env.RSYNC_WORDPRESS_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/ ./upload-api/
183+
rsync -av --delete ../upload-api/migration-wordpress ./upload-api/migration-wordpress
170184
git add .
171185
git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}"
172186
git push origin sync-from-migration-v2-${{ github.event.pull_request.number }}
@@ -179,6 +193,7 @@ jobs:
179193
steps.file_changes.outputs.cli == 'true' ||
180194
steps.file_changes.outputs.ui == 'true' ||
181195
steps.file_changes.outputs.upload-api == 'true' ||
196+
steps.file_changes.outputs.migration-wordpress == 'true' ||
182197
steps.file_changes.outputs.index == 'true'
183198
)
184199
run: |

0 commit comments

Comments
 (0)