temporarily disable continuous deploy until new activity router is debugged

pull/585/head
Ryan Barrett 2023-07-12 08:50:12 -07:00
rodzic bca69dd016
commit 4d2b9b6e24
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 11 dodań i 11 usunięć

Wyświetl plik

@ -52,17 +52,17 @@ jobs:
# https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-select
flake8 --select=F811 tests/test_*.py
# a step only runs if all previous steps succeed, including tests above
# https://circleci.com/docs/configuration-reference/#the-when-attribute
- run:
name: Deploy
command: |
echo $$CIRCLE_BRANCH
if [ $CIRCLE_BRANCH = "main" ]; then
echo $FLASK_SECRET_KEY > flask_secret_key
echo $GCLOUD_SERVICE_KEY | gcloud auth activate-service-account --key-file=-
gcloud -q beta app deploy --no-cache --project bridgy-federated *.yaml
fi
# # a step only runs if all previous steps succeed, including tests above
# # https://circleci.com/docs/configuration-reference/#the-when-attribute
# - run:
# name: Deploy
# command: |
# echo $$CIRCLE_BRANCH
# if [ $CIRCLE_BRANCH = "main" ]; then
# echo $FLASK_SECRET_KEY > flask_secret_key
# echo $GCLOUD_SERVICE_KEY | gcloud auth activate-service-account --key-file=-
# gcloud -q beta app deploy --no-cache --project bridgy-federated *.yaml
# fi
- save_cache:
key: venv-4-{{ .Branch }}-{{ checksum "requirements.txt" }}