From d283171f0be21ed1b6f0e663078397c9ebdc2caf Mon Sep 17 00:00:00 2001 From: Mostafa Farrag Date: Wed, 6 Mar 2024 23:46:33 +0100 Subject: [PATCH] add google secret --- .github/workflows/conda-deployment.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/conda-deployment.yml b/.github/workflows/conda-deployment.yml index e69c76d..f43f658 100644 --- a/.github/workflows/conda-deployment.yml +++ b/.github/workflows/conda-deployment.yml @@ -37,6 +37,13 @@ jobs: echo "Installing Poetry..." conda run --name test pip install poetry + - name: Set up Google Cloud credentials + env: + GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }} + run: | + echo "$GCP_SA_KEY" > gcp-key.json + echo "GOOGLE_APPLICATION_CREDENTIALS=${{ github.workspace }}/gcp-key.json" >> $GITHUB_ENV + - name: Install dependencies with Poetry run: | echo "Installing dependencies..."