Skip to content

Commit fef1d09

Browse files
authored
Merge pull request #487 from contentstack/feature/workflow
workflow changes
2 parents ab348c5 + 6f3d259 commit fef1d09

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/repo-sync.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ jobs:
8181
git clone https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ env.SITECORE_REPO }}.git
8282
cd migration-tool-sitecore
8383
git checkout -b sync-from-migration-v2-${{ github.event.pull_request.number }}
84-
rsync -av --delete $RSYNC_SITECORE_API_SRC_SERVICES_EXCLUDES ../api/ ./api/
84+
rsync -av --delete ${{ env.RSYNC_WORDPRESS_API_SRC_SERVICES_EXCLUDES }} ../api/ ./api/
8585
rsync -av --delete ../cli/ ./cli/
8686
rsync -av --delete ../ui/ ./ui/
87-
rsync -av --delete $RSYNC_SITECORE_UPLOAD_API_SRC_EXCLUDES ../upload-api/ ./upload-api/
87+
rsync -av --delete ${{ env.RSYNC_SITECORE_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/ ./upload-api/
8888
git add .
8989
git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}"
9090
git push origin sync-from-migration-v2-${{ github.event.pull_request.number }}
@@ -122,10 +122,10 @@ jobs:
122122
git clone https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ env.CONTENTFUL_REPO }}.git
123123
cd migration-tool-contentful
124124
git checkout -b sync-from-migration-v2-${{ github.event.pull_request.number }}
125-
rsync -av --delete $RSYNC_CONTENTFUL_API_SRC_SERVICES_EXCLUDES ../api/ ./api/
125+
rsync -av --delete ${{ env.RSYNC_CONTENTFUL_API_SRC_SERVICES_EXCLUDES }} ../api/ ./api/
126126
rsync -av --delete ../cli/ ./cli/
127127
rsync -av --delete ../ui/ ./ui/
128-
rsync -av --delete $RSYNC_CONTENTFUL_UPLOAD_API_SRC_EXCLUDES ../upload-api/ ./upload-api/
128+
rsync -av --delete ${{ env.RSYNC_CONTENTFUL_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/ ./upload-api/
129129
git add .
130130
git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}"
131131
git push origin sync-from-migration-v2-${{ github.event.pull_request.number }}
@@ -163,10 +163,10 @@ jobs:
163163
git clone https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ env.WORDPRESS_REPO }}.git
164164
cd migration-tool-wordpress
165165
git checkout -b sync-from-migration-v2-${{ github.event.pull_request.number }}
166-
rsync -av --delete $RSYNC_WORDPRESS_API_SRC_SERVICES_EXCLUDES ../api/ ./api/
166+
rsync -av --delete ${{ env.RSYNC_WORDPRESS_API_SRC_SERVICES_EXCLUDES }} ../api/ ./api/
167167
rsync -av --delete ../cli/ ./cli/
168168
rsync -av --delete ../ui/ ./ui/
169-
rsync -av --delete $RSYNC_WORDPRESS_UPLOAD_API_SRC_EXCLUDES ../upload-api/ ./upload-api/
169+
rsync -av --delete ${{ env.RSYNC_WORDPRESS_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/ ./upload-api/
170170
git add .
171171
git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}"
172172
git push origin sync-from-migration-v2-${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)