Skip to content

Instantly share code, notes, and snippets.

@SourceCode
Created September 4, 2016 20:38
Show Gist options
  • Save SourceCode/ad14df343b168e6569fe55cbb3ef5036 to your computer and use it in GitHub Desktop.
Save SourceCode/ad14df343b168e6569fe55cbb3ef5036 to your computer and use it in GitHub Desktop.
Basic Bootstrap Shell Script to Start a Deployment
cd ~
wget http://mydomain/deployment/deployment.script
awk '{ sub("\r$", ""); print }' deployment.script > deploy.sh
chmod +x deploy.sh
./deploy.sh
echo 'Deployment Complete'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment