Skip to content

Commit 72ee6c0

Browse files
committed
TODELETE
1 parent dd96055 commit 72ee6c0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/gcp-marketplace.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
name: GCP Marketplace
22
on:
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:
@@ -29,7 +31,6 @@ jobs:
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
@@ -76,7 +77,6 @@ jobs:
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

0 commit comments

Comments
 (0)