Created
March 16, 2015 17:04
-
-
Save bgadrian/8a40923e9863c0a754f2 to your computer and use it in GitHub Desktop.
AppFog update app from windows
This file contains hidden or 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
#put this in a ./.git/hooks/ file, like post-update | |
#exec update.appfog.bat | |
#update.appfog.bat content | |
::activate ruby | |
/E:ON /K e:\Ruby200-x64\bin\setrbvars.bat | |
::move to application location | |
cd server/ | |
call af login --email [email protected] --password blank123 | |
::timeout /t 60 | |
call af update appfogname | |
::timeout /t 60 | |
echo finished |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment