Skip to content

Instantly share code, notes, and snippets.

@gep13
Last active August 29, 2015 14:06
Show Gist options
  • Save gep13/9f74a718d98bece9486e to your computer and use it in GitHub Desktop.
Save gep13/9f74a718d98bece9486e to your computer and use it in GitHub Desktop.
Build Steps for AppVeyor Deployment of Octopress Site to GitHub Pages
build_script:
- cmd: bundle install
- cmd: if not exist _deploy (git clone https://%GithubUsername%:%GithubPassword%@github.com/%GithubUsername%/%GithubUsername%.github.io.git _deploy)
- cmd: cd _deploy
- cmd: git checkout master
- cmd: cd ..
- cmd: rake gen_deploy
environment:
GithubUsername: gep13
GithubPassword:
secure: XSuLygmr83zEpWcXIXMXGocN0QbooLud1eIMA3mQWKkT9LAU4TyrijLBcJIo7bD7
init:
- git config --global user.email "<Your Email Address>"
- git config --global user.name "<Your User Name>"
install:
- ps: iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
- ps: choco install imagemagick.tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment