-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
executable file
·42 lines (40 loc) · 1.51 KB
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# This references a standard debian container from the
# Docker Hub https://registry.hub.docker.com/_/debian/
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box: mwallasch/docker-ruby-node
# You can also use services such as databases. Read more on our dev center:
# http://devcenter.wercker.com/docs/services/index.html
# services:
# - postgres
# http://devcenter.wercker.com/docs/services/postgresql.html
# - mongodb
# http://devcenter.wercker.com/docs/services/mongodb.html
# This is the build pipeline. Pipelines are the core of wercker
# Read more about pipelines on our dev center
# http://devcenter.wercker.com/docs/pipelines/index.html
build:
# Steps make up the actions in your pipeline
# Read more about steps on our dev center:
# http://devcenter.wercker.com/docs/steps/index.html
steps:
- script:
name: install jekyll
code: gem install jekyll
- script:
name: build
code: jekyll build
- script:
name: Configure git
code: |-
git config --global user.email "robot@wercker.com"
git config --global user.name "wercker CI"
rm -rf .git
- script:
name: deploy
code: |-
git init
git remote add origin git@github.com:codeforboston/codeforboston.org.git
git add .
git commit -m "deploy commit from $WERCKER_STARTED_BY"
git push $GIT_REMOTE `git subtree split --prefix _site master`:gh-pages --force