diff --git a/.github/workflows/cicd-ec2.yml b/.github/workflows/cicd-ec2.yml index 7895a2e8..601db436 100644 --- a/.github/workflows/cicd-ec2.yml +++ b/.github/workflows/cicd-ec2.yml @@ -75,6 +75,10 @@ jobs: # echo "${{ secrets.GOOGLE_ACCOUNT_KEY }}" > ./jsonkey/key.json # shell: bash + - name: Create jsonkey directory + if: contains(github.ref, 'staging') || contains(github.ref, 'main-test') + run: mkdir -p ./genti-api/src/main/resources/jsonkey + - name: Create Google key.json file if: contains(github.ref, 'staging') || contains(github.ref, 'main-test') id: create-json