Skip to content

Commit 8bbe95d

Browse files
committed
fix workflow secrets not set
1 parent e37b520 commit 8bbe95d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/update_blog.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Update Blog
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
4+
push:
5+
branches:
6+
- main
77

88
jobs:
99
update_blog:
1010
runs-on: ubuntu-latest
11-
if: github.repository == 'emqx/blog' && github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' && github.event.pull_request.title != 'sync blogs'
11+
if: github.repository == 'emqx/blog' && github.head_commit.author.email != '[email protected]'
1212
steps:
1313
- name: Check out code
1414
uses: actions/checkout@v3

0 commit comments

Comments
 (0)