Skip to content

Commit

Permalink
Fix deployment app engine
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminSsempala committed Jan 28, 2025
1 parent db038d7 commit b95a620
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/deploy-frontends-to-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,6 @@ jobs:
echo " DEBUG: False" >> .env.yaml
echo " GOOGLE_APPLICATION_CREDENTIALS: /app/google_application_credentials.json" >> .env.yaml
- name: Temporarily Increase Min Instances
run: |
echo "========== Setting minimum instances to 2 for deployment =========="
gcloud app services update default --min-instances=2 --quiet
- name: Build and Push Docker Image
run: |
cd website2/
Expand All @@ -325,12 +320,7 @@ jobs:
--image-url=${{ env.REGISTRY_URL }}/${{ secrets.FRONTEND_PROJECT_ID }}/airqo-website2:latest \
--project=${{ secrets.FRONTEND_PROJECT_ID }} \
--quiet
- name: Restore Min Instances
run: |
echo "========== Restoring minimum instances to 1 after deployment =========="
gcloud app services update default --min-instances=1 --quiet
- name: Delete Old Versions
run: |-
service="default"
Expand Down

0 comments on commit b95a620

Please sign in to comment.