We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 947c9c2 commit 4562240Copy full SHA for 4562240
1 file changed
.github/workflows/deploy.yml
@@ -13,7 +13,7 @@ concurrency:
13
14
jobs:
15
deploy:
16
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
+ if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch != 'main' }}
17
permissions:
18
actions: read
19
contents: read
@@ -29,6 +29,12 @@ jobs:
29
ref: ${{ github.event.workflow_run.head_sha }}
30
- if: github.event_name != 'workflow_run'
31
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
32
+ - name: Get PR number
33
+ run: |
34
+ echo "PR Number: ${{ github.event.number }}"
35
+ - name: Get PR number other
36
37
+ echo "PR Number: ${{ github.event.pull_request.number }}"
38
- id: 'cloudflare-pages'
39
uses: ./
40
with:
0 commit comments