Created
February 24, 2015 20:30
-
-
Save vshank77/3e27453d265bab8cc2ce to your computer and use it in GitHub Desktop.
Meteor deploy script for Codeship
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
nvm install 0.10 | |
nvm use 0.10 | |
npm install -g jshint | |
curl -o meteor_install_script.sh https://install.meteor.com/ | |
chmod +x meteor_install_script.sh | |
sed -i "s/type sudo >\/dev\/null 2>&1/\ false /g" meteor_install_script.sh | |
./meteor_install_script.sh | |
export PATH=$PATH:~/.meteor/ | |
meteor --version | |
jshint . | |
expect -c "set timeout 60; spawn meteor deploy gosterni-uat.meteor.com; expect "Email:" { send $METEOR_DEPLOY_EMAIL\r; expect eof }; expect "Password:" { send $METEOR_DEPLOY_PASSWORD\r; expect eof }" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment