Add deploy steps

This commit is contained in:
Jez Cope 2016-08-11 13:15:30 +01:00
parent 569cd4fd57
commit e30b096f30
1 changed files with 23 additions and 23 deletions

View File

@ -4,28 +4,28 @@ build:
- arjen/hugo-build: - arjen/hugo-build:
version: '0.16' version: '0.16'
disable_pygments: true disable_pygments: true
# deploy: deploy:
# steps: steps:
# - s3sync: - s3sync:
# source_dir: output/ source_dir: output/
# delete-removed: true delete-removed: true
# bucket-url: $AWS_BUCKET_URL bucket-url: $AWS_BUCKET_URL
# key-id: $AWS_ACCESS_KEY_ID key-id: $AWS_ACCESS_KEY_ID
# key-secret: $AWS_SECRET_ACCESS_KEY key-secret: $AWS_SECRET_ACCESS_KEY
# testing: testing:
# - script: - script:
# name: configure git name: configure git
# code: |- code: |-
# git config --global user.email "j.cope@erambler.co.uk" git config --global user.email "j.cope@erambler.co.uk"
# git config --global user.name "Jez Cope" git config --global user.name "Jez Cope"
# rm -rf .git rm -rf .git
# - script: - script:
# name: deploy to github pages name: deploy to github pages
# code: |- code: |-
# cd output cd output
# git init git init
# git add . git add .
# git commit -m "Deploy commit from $WERCKER_STARTED_BY" git commit -m "Deploy commit from $WERCKER_STARTED_BY"
# git push -f $GIT_REMOTE master:gh-pages git push -f $GIT_REMOTE master:gh-pages