Skip to content

Commit 45495a2

Browse files
Update private Playground instance to use dedicated CORS proxy (#56)
## Motivation for the change, related issues The public CORS proxy does not support CORS for the private Playground origin. We have configured a private CORS proxy to support that origin, and we need to configure the private Playground instance to use that proxy. ## Implementation details This PR updates the private Playground deployment workflow to specify a CORS proxy URL configured in the GitHub Actions environment. ## Testing Instructions (or ideally a Blueprint) To save time , I am just going to deploy this update because this is a simple change that I believe should work. I will test a deployment immediately after merging to confirm.
1 parent 0973e38 commit 45495a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy-private-website.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
with:
3434
submodules: true
3535
- uses: ./.github/actions/prepare-playground
36-
- run: npm run build
36+
- env:
37+
CORS_PROXY_URL: ${{ vars.CORS_PROXY_URL }}
38+
- run: npx nx build playground-website
3739

3840
- name: Deploy to playground.wordpress.net
3941
shell: bash

0 commit comments

Comments
 (0)