Skip to content

Commit 96ea175

Browse files
committed
Adding catalog-update.yml
1 parent 9ded67f commit 96ea175

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/db-update-content.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ jobs:
169169

170170
update-gcp-secret:
171171
name: Update GCP Secrets
172-
if: ${{ !inputs.DRY_RUN }}
173172
runs-on: ubuntu-latest
174173
steps:
175174
- name: Authenticate to Google Cloud
@@ -192,6 +191,7 @@ jobs:
192191
JSON_FEEDS_WITH_TOKENS: "op://lijd6lj7lyw7dajea6x3zgf53m/l6sr2cnpjj3cbw3t5amlu7vui4/credential"
193192

194193
- name: Create or Update Auth Secret
194+
if: ${{ !inputs.DRY_RUN }}
195195
env:
196196
PROJECT_ID: ${{ inputs.PROJECT_ID }}
197197
ENVIRONMENT: ${{ inputs.ENVIRONMENT }}
@@ -207,3 +207,4 @@ jobs:
207207
echo "Secret $SECRET_NAME does not exist in project $PROJECT_ID, creating..."
208208
echo -n "$SECRET_VALUE" | gcloud secrets create $SECRET_NAME --data-file=- --replication-policy="automatic" --project=$PROJECT_ID
209209
fi
210+

0 commit comments

Comments
 (0)