File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Auto Deploy to Google Cloud
33on :
44 push :
55 branches :
6- - main
6+ - fix/gee-auth
77
88jobs :
99 deploy :
6161 working-directory : ./backend
6262 env :
6363 API_BASE_URL : " http://127.0.0.1:8000"
64+ GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_CREDENTIALS : ${{ secrets.GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_CREDENTIALS }}
65+ GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_EMAIL : ${{ secrets.GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_EMAIL }}
6466 run : |
6567 python -m pip install --upgrade pip
6668 pip install -r requirements-dev.txt
8183 --allow-unauthenticated \
8284 --platform=managed \
8385 --min-instances=1 \
84- --max-instances=5
86+ --max-instances=5 \
87+ --set-env-vars "GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_CREDENTIALS=${{ secrets.GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_CREDENTIALS }}" \
88+ --set-env-vars "GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_EMAIL=${{ secrets.GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_EMAIL }}"
89+
8590
8691 # Step 9: Build and Deploy the frontend
8792 - name : Build Docker image (frontend)
You can’t perform that action at this time.
0 commit comments