Skip to content

Commit 3273a5a

Browse files
Simplify dev-portal redeployment (#1367)
1 parent 65ea4c4 commit 3273a5a

File tree

4 files changed

+19
-128
lines changed

4 files changed

+19
-128
lines changed

.github/actions/reload-dev-portal/action.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

.github/workflows/deploy-udr.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@ jobs:
5151
- name: Deploy Project Artifacts to Vercel
5252
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} --logs --archive=tgz
5353

54-
- name: Reload dev portal on changed files
55-
uses: ./.github/actions/reload-dev-portal
56-
with:
57-
base_sha: ${{ github.event.before }}
58-
head_sha: ${{ github.event.after }}
59-
dev-portal-deploy-hook-prod: ${{ secrets.DEV_PORTAL_DEPLOY_HOOK_PROD }}
60-
revalidate-token: ${{ secrets.REVALIDATE_TOKEN }}
61-
bot-bypass-token: ${{ secrets.DEVELOPER_BOT_BYPASS_TOKEN }}
54+
- name: Rebuild Dev Portal
55+
shell: bash
56+
run: |
57+
echo "Rebuilding all of dev-portal"
58+
curl -X POST ${{ secrets.DEV_PORTAL_DEPLOY_HOOK_PROD }}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Force Rebuild Dev Portal
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
rebuild-dev-portal:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Rebuild Dev Portal
11+
shell: bash
12+
run: |
13+
echo "Rebuilding all of dev-portal"
14+
curl -X POST ${{ secrets.DEV_PORTAL_DEPLOY_HOOK_PROD }}

.github/workflows/force-reload-dev-portal.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)