Skip to content

Instantly share code, notes, and snippets.

@vshank77
Created February 24, 2015 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vshank77/3e27453d265bab8cc2ce to your computer and use it in GitHub Desktop.
Save vshank77/3e27453d265bab8cc2ce to your computer and use it in GitHub Desktop.
Meteor deploy script for Codeship
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