-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwercker.yml
More file actions
47 lines (45 loc) · 1.61 KB
/
wercker.yml
File metadata and controls
47 lines (45 loc) · 1.61 KB
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
43
44
45
46
47
# 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: marcguyer/docker-golang-npm
# box: ubuntu
# box: wercker/default
# 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: set timezone to America/Indiana/Indianapolis
code: |
echo "America/Indiana/Indianapolis" > /etc/timezone
dpkg-reconfigure --frontend noninteractive tzdata
- npm-install
- arjen/hugo-build:
version: "0.52"
#theme: hugo-bootswatch
deploy:
steps:
- script:
name: delete build files
code: |
cd public && rm -rf js/app js/app.js js/config.js js/jspm_packages scss/
- leipert/git-push:
gh_oauth: $GIT_TOKEN
gh_pages_domain: newplays.org
basedir: public
repo: bppwrite/bppwrite.github.io
branch: master
clean_removed_files: true
discard_history: true