Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move to production #2422

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading