Created
August 31, 2013 17:37
-
-
Save pankajmore/6399624 to your computer and use it in GitHub Desktop.
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
| language: haskell | |
| branches: | |
| only: | |
| - source | |
| env: | |
| global: | |
| - secure: "EwN3tW0Nu471w8/a3BJaCOpv8wZnMea+yklWSjAXIr0qSzNg9NASkLYvcufHTKv85NyWoiAVCYLueTmKCajExaN5H1pFVA1jOogaizKTawneb9EbJYzKilVnJHKB8dEEHoo6FaLbMCGdEzT48edIY7g0i2zy3W/xt/Y8jUjhyPk=" | |
| install: | |
| - cabal install hakyll | |
| - ghc --make site.hs | |
| before_script: | |
| - git checkout master | |
| - cd _site | |
| - git pull origin master | |
| - cd .. | |
| script: ./site build | |
| after_script: | |
| - cd _site | |
| - git status | |
| - git add --all | |
| - git config --global user.email "[email protected]" | |
| - git config --global user.name "Travis" | |
| - git commit -m "snapshot $(date '+%m/%d/%y %H:%M')" | |
| - git push "$REPO_URL" master | grep -v http | |
| - cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment