kopia lustrzana https://github.com/snarfed/bridgy-fed
temporarily disable continuous deploy until new activity router is debugged
rodzic
bca69dd016
commit
4d2b9b6e24
|
@ -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" }}
|
||||
|
|
Ładowanie…
Reference in New Issue