fix: trigger ref

This commit is contained in:
Bo-Yi Wu 2019-02-17 13:37:26 +08:00
parent 439e9b13c2
commit a28fc42469
2 changed files with 9 additions and 4 deletions

View File

@ -260,7 +260,11 @@ local PipelineNotifications(os='linux', arch='amd64', depends_on=[]) = {
], ],
depends_on: depends_on, depends_on: depends_on,
trigger: { trigger: {
event: [ 'push', 'tag' ], ref: [
'refs/heads/master',
'refs/pull/**',
'refs/tags/**',
],
}, },
}; };

View File

@ -375,9 +375,10 @@ steps:
from_secret: microbadger_url from_secret: microbadger_url
trigger: trigger:
event: ref:
- push - refs/heads/master
- tag - "refs/pull/**"
- "refs/tags/**"
depends_on: depends_on:
- linux-amd64 - linux-amd64