Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (37 sloc) 1.05 KB
box: wercker/default
build:
steps:
- arjen/hugo-build:
version: 0.13
theme: dw
deploy:
steps:
- install-packages:
packages: sshpass rsync
- script:
name: deploy blog to cdn
code: rsync -avz --progress --rsh="sshpass -p $PASS ssh -l USER -o StrictHostKeyChecking=no" public/* $USER@$HOST:/www/
after-steps:
- script:
name: purge cdn
code: curl --data "cdn_id=$CDNID&login=$APIUSER&passwd=$APIPASS" https://client.cdn77.com/api/v2.0/data/purge-all
after-steps:
- seigyo/cloudflare-purge:
api: $CF_API
email: rahul.bansal@rtcamp.com
domain: devilsworkshop.org
# - 1syo/gitter-notify@0.0.1:
# token: $GITTER_TOKEN
# deploy:
# steps:
# - lukevivier/gh-pages@0.2.1:
# token: $GIT_TOKEN
# domain: devilsworkshop.org
# basedir: public
# deploy:
# steps:
# - s3sync:
# key-id: $AWS_KEY
# key-secret: $AWS_SECRET
# bucket-url: $AWS_BUCKET
# source-dir: public