We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eb027f commit 302f616Copy full SHA for 302f616
.github/workflows/deploy.yml
@@ -4,13 +4,7 @@ on:
4
push:
5
tags:
6
- 'v*'
7
- workflow_dispatch:
8
- inputs:
9
- branch:
10
- description: 'Branch to deploy'
11
- required: true
12
- default: 'main'
13
- type: string
+
14
jobs:
15
build-and-deploy:
16
runs-on: macos-15
@@ -27,5 +21,5 @@ jobs:
27
21
with:
28
22
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
29
23
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
30
- command: pages deploy ./dist --branch ${{ inputs.branch || 'main' }} --project-name=${{ secrets.CLOUDFLARE_PAGES_PROJECT_NAME }}
24
+ command: pages deploy ./dist --branch main --project-name=${{ secrets.CLOUDFLARE_PAGES_PROJECT_NAME }}
31
25
directory: './dist'
0 commit comments