We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e37b520 commit 8bbe95dCopy full SHA for 8bbe95d
.github/workflows/update_blog.yaml
@@ -1,14 +1,14 @@
1
name: Update Blog
2
3
on:
4
- pull_request:
5
- types:
6
- - closed
+ push:
+ branches:
+ - main
7
8
jobs:
9
update_blog:
10
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'
+ if: github.repository == 'emqx/blog' && github.head_commit.author.email != '[email protected]'
12
steps:
13
- name: Check out code
14
uses: actions/checkout@v3
0 commit comments