Skip to content

Commit b0101b2

Browse files
fix/workflow
1 parent 5495066 commit b0101b2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deployStatic.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ name: Generate API Portal
44

55
on:
66
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
710

811
jobs:
912
Generate-Portal:
@@ -79,4 +82,4 @@ jobs:
7982
with:
8083
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
8184
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
82-
command: pages deploy portal --branch=test --project-name=${{ secrets.CLOUDFLARE_PROJECT_NAME }}
85+
command: pages deploy portal --branch=main --project-name=${{ secrets.CLOUDFLARE_PROJECT_NAME }}

0 commit comments

Comments
 (0)