File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ jobs:
121121 --public-origin "$PREVIEW_ORIGIN" \
122122 --output .preview-registry
123123 cp -R .preview-registry/. apps/client-web/dist/
124+ cp -R apps/client-web/dist "$GITHUB_WORKSPACE/.pages-preview"
124125
125126 - name : Reverify pull-request identity before delivery
126127 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -185,7 +186,7 @@ jobs:
185186 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
186187 packageManager : npm
187188 wranglerVersion : 4.114.0
188- workingDirectory : candidate/apps/client-web/dist
189+ workingDirectory : .pages-preview
189190 command : >-
190191 pages deploy .
191192 --project-name=${{ vars.CLOUDFLARE_PAGES_PROJECT }}
Original file line number Diff line number Diff line change @@ -306,7 +306,8 @@ test('separates exact-main app delivery from the Changesets Extension release li
306306 assert . match ( preview , / p n p m b u i l d / )
307307 assert . match ( preview , / p d m r u n i n k c r e - e x t p r e v i e w b u i l d / )
308308 assert . match ( preview , / - - p u b l i c - o r i g i n " \$ P R E V I E W _ O R I G I N " / )
309- assert . match ( preview , / w o r k i n g D i r e c t o r y : c a n d i d a t e \/ a p p s \/ c l i e n t - w e b \/ d i s t / )
309+ assert . match ( preview , / c p - R a p p s \/ c l i e n t - w e b \/ d i s t " \$ G I T H U B _ W O R K S P A C E \/ \. p a g e s - p r e v i e w " / )
310+ assert . match ( preview , / w o r k i n g D i r e c t o r y : \. p a g e s - p r e v i e w / )
310311 assert . match ( preview , / p a g e s d e p l o y \. / )
311312 assert . doesNotMatch ( preview , / I N K C R E _ E X T E N S I O N _ R E G I S T R Y _ T O K E N / )
312313
You can’t perform that action at this time.
0 commit comments