Created
October 11, 2013 03:10
-
-
Save btobolaski/6929015 to your computer and use it in GitHub Desktop.
Jekyll build scripts for Jenkins
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
#!/bin/bash --login | |
cd $WORKSPACE | |
rbenv rehash | |
LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" jekyll build |
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
#!/bin/bash --login | |
cd $WORKSPACE | |
bundle install |
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
#!/bin/bash | |
# Use this for a deploy to another server | |
rsync -av --checksum $WORKSPACE/_site/ [email protected]:/webroot/ | |
# Use this for deploys to the same server | |
rsync -av --checksum $WORKSPACE/_site/ /path/to/webroot/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment