We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a64a476 commit 0221f69Copy full SHA for 0221f69
1 file changed
.github/workflows/deploy.yml
@@ -54,7 +54,9 @@ jobs:
54
dnslink-update:
55
runs-on: ubuntu-latest
56
needs: deploy-ipfs
57
- if: github.event.workflow_run.head_branch == 'main'
+ if: |
58
+ github.event.workflow_run.event == 'push' &&
59
+ github.event.workflow_run.head_branch == 'main'
60
environment:
61
name: 'cf-dnslink'
62
url: "https://cid-ipfs-tech.ipns.inbrowser.link/"
@@ -72,6 +74,7 @@ jobs:
72
74
deploy-gh-pages:
73
75
if: |
76
github.event.workflow_run.conclusion == 'success' &&
77
78
github.event.workflow_run.head_branch == 'main'
79
80
permissions:
0 commit comments