diff --git a/.github/workflows/deploy_staging.yml b/.github/workflows/deploy_staging.yml index 572132ad..1fcf6be1 100644 --- a/.github/workflows/deploy_staging.yml +++ b/.github/workflows/deploy_staging.yml @@ -37,7 +37,7 @@ jobs: cp web.config public/ - name: Upload artifact for deployment job - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: node-app path: ./public/ @@ -58,7 +58,7 @@ jobs: subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} - name: Download artifact from build job - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: node-app diff --git a/redirects.json b/redirects.json index e7367445..096ad9e5 100644 --- a/redirects.json +++ b/redirects.json @@ -910,6 +910,11 @@ "match": "^assets/(.*)", "destination": "https://primer-lookbook.github.com/assets/{R:1}" }, + { + "name": "ViewComponents Preview assets proxy (Vite)", + "match": "^vite/assets/(.*)", + "destination": "https://primer-lookbook.github.com/vite/assets/{R:1}" + }, { "name": "ViewComponents Lookbook assets proxy", "match": "^lookbook-assets/(.*)",