Created
March 21, 2016 02:23
-
-
Save k2wanko/836f14b0f6a1c576ebf4 to your computer and use it in GitHub Desktop.
gae_deploy.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
application=${APPLICATION:=$GAE_APPID} | |
branch=${BRANCH:=$(git rev-parse --abbrev-ref HEAD)} | |
token=$(gcloud auth print-access-token 2> /dev/null) | |
appcfg.py update --oauth2_access_token $token --application $application --version $branch . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment