From 9e0793d1f783b197b9bca73cf1cb1fd20701ddee Mon Sep 17 00:00:00 2001 From: jcpitre Date: Thu, 22 Aug 2024 12:09:16 -0400 Subject: [PATCH] Changed the 1 password secret reference path since we moved the the secret to a different vault --- .github/workflows/db-update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/db-update.yml b/.github/workflows/db-update.yml index 9fd6f15e1..d70edea71 100644 --- a/.github/workflows/db-update.yml +++ b/.github/workflows/db-update.yml @@ -235,14 +235,14 @@ jobs: with: export-env: true # Export loaded secrets as environment variables env: - OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} - CREDENTIALS: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/2mtq7eqbhxv3o25yerdbz4scse/credential" + OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_FEEDS_SERVICE_ACCOUNT_TOKEN }} + JSON_FEEDS_WITH_TOKENS: ""op://lijd6lj7lyw7dajea6x3zgf53m/l6sr2cnpjj3cbw3t5amlu7vui4/credential"" - name: Create or Update Auth Secret env: PROJECT_ID: ${{ inputs.PROJECT_ID }} ENVIRONMENT: ${{ inputs.ENVIRONMENT }} - SECRET_VALUE: ${{ env.CREDENTIALS }} + SECRET_VALUE: ${{ env.JSON_FEEDS_WITH_TOKENS }} SECRET_NAME: FEEDS_CREDENTIALS run: | echo "Processing secret $SECRET_NAME in project $PROJECT_ID..."