mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-27 17:17:17 +08:00
linting travis deploy of docs
This commit is contained in:
+7
-7
@@ -62,14 +62,14 @@ after_success:
|
||||
|
||||
- if [ ${TEST_DIR} == "tests/docs" ]; then
|
||||
python scripts/fetch_gae_sdk.py $(dirname "${GAE_PYTHONPATH}");
|
||||
- openssl aes-256-cbc -K $encrypted_93066031461c_key -iv $encrypted_93066031461c_iv
|
||||
openssl aes-256-cbc -K $encrypted_93066031461c_key -iv $encrypted_93066031461c_iv
|
||||
-in docs/credentials.tar.gz.enc -out credentials.tar.gz -d ;
|
||||
- if [ ! -d ${HOME}/google-cloud-sdk ]; then curl https://sdk.cloud.google.com | bash; fi ;
|
||||
- tar -xzf credentials.tar.gz ;
|
||||
- gcloud auth activate-service-account --key-file client-secret.json ;
|
||||
- gcloud config set project simpegdocs;
|
||||
- gcloud -q components update gae-python;
|
||||
- gcloud -q preview app deploy ./simpegdocs/app.yaml --version 1 --promote;
|
||||
if [ ! -d ${HOME}/google-cloud-sdk ]; then curl https://sdk.cloud.google.com | bash; fi ;
|
||||
tar -xzf credentials.tar.gz ;
|
||||
gcloud auth activate-service-account --key-file client-secret.json ;
|
||||
gcloud config set project simpegdocs;
|
||||
gcloud -q components update gae-python;
|
||||
gcloud -q preview app deploy ./simpegdocs/app.yaml --version 1 --promote;
|
||||
fi
|
||||
|
||||
# if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
|
||||
|
||||
Reference in New Issue
Block a user