-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwercker.yml
More file actions
51 lines (46 loc) · 1.76 KB
/
Copy pathwercker.yml
File metadata and controls
51 lines (46 loc) · 1.76 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
48
49
50
51
# This references the default nodejs container from
# the Docker Hub: https://registry.hub.docker.com/_/node/
# If you want Nodesource's container you would reference nodesource/node
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box: node
# 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
# 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
# - mongo
# http://devcenter.wercker.com/docs/services/mongodb.html
build:
# The steps that will be executed on 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:
# Steps that executes `npm install` commands
- npm-install:
options: -g bower
- npm-install:
options: -g gulp-cli
- npm-install
# A step that executes `bower install` command
- greatbeyond/bower-install
# A step step to execute commands using the `gulp-cli`.
- hgen/gulp:
tasks: clean
- hgen/gulp:
tasks: build
deploy:
steps:
# Deploy site to Amazon S3
- socialschools/s3sync:
key-id: $AWS_ACCESS_KEY_ID
key-secret: $AWS_SECRET_ACCESS_KEY
bucket-url: $AWS_BUCKET_URL
source_dir: dist/
delete-removed: true
opts: --acl-public --add-header=Cache-Control:max-age=2592000
additional-command: put --acl-public --force --add-header=Cache-Control:no-cache --verbose index.html $AWS_BUCKET_URL