-
Notifications
You must be signed in to change notification settings - Fork 11
/
wercker.yml
32 lines (31 loc) · 877 Bytes
/
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
box: leipert/webapp-test
# Build definition
build:
# The steps that will be executed on build
steps:
# A step that executes `npm install` command
- npm-install
# - plasticine/bower-install
- script:
name: Bower
code: >-
export BOWER_STORAGE__CACHE="${WERCKER_CACHE_DIR}/wercker/bower" &&
mkdir -p $BOWER_STORAGE__CACHE &&
bower --allow-root install
- script:
name: Test and build vsb
code: gulp
- script:
name: Delete unneeded files
code: ls -A | grep -v dist | grep -v landing | grep -v config | xargs rm -rf
deploy:
steps:
- script:
name: Run afterbuild scripts
code: bash config/afterBuild.sh
- leipert/git-push:
gh_oauth: $GH_TOKEN
gh_pages: true
basedir: landing
clean_removed_files: true
debug: true