File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11name : GCP Marketplace
22on :
3+ schedule :
4+ - cron : ' 0 0 * * *'
35 push :
4- branches :
5- - master
6- - release/*
6+ # branches:
7+ # - master
8+ # - release/*
79 workflow_dispatch :
810 inputs :
911 trigger :
2931 permissions :
3032 id-token : write
3133 contents : read
32- if : ${{ github.event.inputs.trigger == 'PUSH_STAGING_DEPLOYER' || github.event.inputs.trigger == 'PUSH_PROD_DEPLOYER' || (github.ref_name == 'master' && github.event_name == 'push') }}
3334 env :
3435 GCLOUD_REGISTRY : gcr.io/sonarqube-marketplace-provider
3536 GCLOUD_PRODUCT_NAME : sonarqube-dce-staging
7677 permissions :
7778 id-token : write
7879 contents : read
79- if : ${{ github.event.inputs.trigger == 'PUSH_STAGING_DEPLOYER' || github.event.inputs.trigger == 'PUSH_PROD_DEPLOYER' || github.event_name == 'push' }}
8080 env :
8181 BASE_FOLDER : " /home/runner/.gcp/cache"
8282 KUBE_CONFIG : " /tmp/kubeconfig"
@@ -125,7 +125,7 @@ jobs:
125125 permissions :
126126 id-token : write
127127 contents : read
128- if : ${{ github.event.inputs.trigger == 'PUSH_PROD_DEPLOYER' }}
128+ if : ${{ github.event.inputs.trigger == 'PUSH_PROD_DEPLOYER' || github.event_name == 'push' || github.event_name == 'schedule' }}
129129 env :
130130 GCLOUD_REGISTRY : gcr.io/sonarsource-public
131131 GCLOUD_PRODUCT_NAME : official-sonarqube-data-center-edition
You can’t perform that action at this time.
0 commit comments