Update wercker.yml
Pull requests no longer update the website.
This commit is contained in:
parent
57822c323d
commit
1644acc08f
1 changed files with 6 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ box: flaviut/nimrod-by-example-build-vm@0.0.3
|
||||||
build:
|
build:
|
||||||
steps:
|
steps:
|
||||||
- script:
|
- script:
|
||||||
name: build and deploy
|
name: build
|
||||||
code: |
|
code: |
|
||||||
git remote add publish $GIT_CREDENTIALS
|
git remote add publish $GIT_CREDENTIALS
|
||||||
git config --global user.email $GIT_EMAIL
|
git config --global user.email $GIT_EMAIL
|
||||||
|
|
@ -13,4 +13,9 @@ build:
|
||||||
rm -rf ./output/ ./content/ ./layouts/ ./lib/ .gitignore README.md Rules nanoc.yaml wercker.yml
|
rm -rf ./output/ ./content/ ./layouts/ ./lib/ .gitignore README.md Rules nanoc.yaml wercker.yml
|
||||||
git add --all .
|
git add --all .
|
||||||
git commit -am'Build Site'
|
git commit -am'Build Site'
|
||||||
|
deploy:
|
||||||
|
steps:
|
||||||
|
- script:
|
||||||
|
name: deploy
|
||||||
|
code: |
|
||||||
git push --force publish > /dev/null 2>&1
|
git push --force publish > /dev/null 2>&1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue