File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ stages:
1515 # see:
1616 # * https://github.com/tarantool/tarantool/issues/3745
1717 # * https://github.com/travis-ci/travis-ci/issues/7780#issuecomment-302389370
18- if : (branch = master OR tag IS present) AND (env(PACKAGECLOUD_TOKEN) IS present)
18+ # Also skip deploys for pull-requests, api and cron events.
19+ if : (type = push) AND (branch = master OR tag IS present) AND (env(PACKAGECLOUD_TOKEN) IS present)
1920
2021env :
2122 global :
@@ -32,6 +33,8 @@ _deploy_to_packagecloud: &deploy_to_packagecloud
3233 dist : $OS/$DIST
3334 package_glob : build/*.{rpm,deb}
3435 skip_cleanup : true
36+ on :
37+ all_branches : true # it's restricted with the condition for deploy stage
3538
3639# Pack and deploy packages to PackageCloud
3740_packpack : &packpack
You can’t perform that action at this time.
0 commit comments