mirror of
https://github.com/ipfs/ipfs-blog.git
synced 2026-08-07 01:12:47 +02:00
chore(ci): pr handling cleanup
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user