chore(ci): pr handling cleanup

This commit is contained in:
Marcin Rataj
2026-04-07 15:04:20 +02:00
parent f8088c3381
commit 5dda2263d1
+4 -1
View File
@@ -60,7 +60,9 @@ jobs:
dnslink-update:
runs-on: ubuntu-latest
needs: deploy-ipfs
if: github.event.workflow_run.head_branch == 'main'
if: |
github.event.workflow_run.event == 'push' &&
github.event.workflow_run.head_branch == 'main'
environment:
name: 'cf-dnslink'
url: "https://blog-ipfs-tech.ipns.inbrowser.link/"
@@ -78,6 +80,7 @@ jobs:
deploy-gh-pages:
if: |
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push' &&
github.event.workflow_run.head_branch == 'main'
runs-on: ubuntu-latest
permissions: