From 2bb94f71a08bbb9ba9d6f87ec3b9239676dfb4ea Mon Sep 17 00:00:00 2001 From: jay-dhanwant Date: Fri, 8 Nov 2024 15:46:00 +0530 Subject: [PATCH] adding Image APIs and deploying moving to prod fly account --- .github/workflows/deploy-on-merge-to-main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-on-merge-to-main.yml b/.github/workflows/deploy-on-merge-to-main.yml index 44e3f24..48d7a07 100644 --- a/.github/workflows/deploy-on-merge-to-main.yml +++ b/.github/workflows/deploy-on-merge-to-main.yml @@ -24,7 +24,7 @@ jobs: # FLY_API_TOKEN: ${{ secrets.FLY_IO_DEPLOY_TOKEN }} - name: Set Fly secrets run: | - flyctl secrets set --stage --app "prod-yral-nsfw-classification" "SERVICE_CRED=$GOOGLE_CLOUD_EVENTS_BQ_SERVICE_ACCOUNT_KEY_JSON" + flyctl secrets set --stage --app "prod-yral-nsfw-classification" "SERVICE_CRED=$(jq -n -c "${SERVICE_CRED}")" env: FLY_API_TOKEN: ${{ secrets.FLY_IO_DEPLOY_TOKEN }} SERVICE_CRED: ${{ secrets.GOOGLE_CLOUD_EVENTS_BQ_SERVICE_ACCOUNT_KEY_JSON }}