-
Notifications
You must be signed in to change notification settings - Fork 5
/
wercker.yml
41 lines (40 loc) · 1.04 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
box: olger/box-yeoman
# Build definition
build:
# The steps that will be executed on build
steps:
# A step that executes `npm install` command
- script:
name: Make sure gulp is installed
code: sudo npm install gulp -g
- npm-install
# - script:
# name: Run fulltest (incl. coveralls)
# code: gulp fulltest
- script:
name: Generate dist
code: gulp browserify
- script:
name: Copy bower.json into dist folder
code: cp bower.json dist/
- script:
name: Generate docs
code: gulp docs
- script:
name: Remove unneeded files
code: ls -A | grep -v dist | grep -v docs | xargs rm -rf
deploy:
steps:
- leipert/git-push:
gh_oauth: $GH_TOKEN
gh_pages: true
basedir: docs
discard_history: true
- leipert/git-push:
gh_oauth: $GH_TOKEN
host: github.com
repo: GeoKnow/Jassa-Bower
branch: master
basedir: dist
tag: bower
tag_overwrite: true