Skip to content

Commit 3b87a0e

Browse files
authored
Merge branch 'main' into feature/difference-graphs
2 parents 2ec99e6 + 29365c5 commit 3b87a0e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
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 }}
66+
ENVIRONMENT: "PRODUCTION"
6467
run: |
6568
python -m pip install --upgrade pip
6669
pip install -r requirements-dev.txt
@@ -81,7 +84,11 @@ jobs:
8184
--allow-unauthenticated \
8285
--platform=managed \
8386
--min-instances=1 \
84-
--max-instances=5
87+
--max-instances=5 \
88+
--set-env-vars "GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_CREDENTIALS=${{ secrets.GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_CREDENTIALS }}" \
89+
--set-env-vars "GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_EMAIL=${{ secrets.GOOGLE_EARTH_ENGINE_SERVICE_ACCOUNT_EMAIL }}" \
90+
--set-env-vars "ENVIRONMENT=PRODUCTION"
91+
8592
8693
# Step 9: Build and Deploy the frontend
8794
- name: Build Docker image (frontend)

0 commit comments

Comments
 (0)