forked from pjvds/born2code.net-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwercker.yml
More file actions
33 lines (33 loc) · 961 Bytes
/
Copy pathwercker.yml
File metadata and controls
33 lines (33 loc) · 961 Bytes
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
box: wercker/ruby
build:
steps:
- bundle-install
- script:
name: sass compile
code: bundle exec sass --style compressed assets/scss/styles.scss:assets/css/styles.min.css --debug-info
- script:
name: generate staging site
code: bundle exec jekyll build --draft --trace --destination ./_staging
- create-file:
filename: robots.txt
content: |-
User-agent: *
Disallow: /
- script:
name: generate production site
code: bundle exec jekyll build --trace --destination ./_production
- create-file:
name: generate production robots.txt
overwrite: true
filename: robots.txt
content: |-
User-agent: *
Allow: /
Sitemap: http://born2code.net/sitemap.xml
deploy :
steps :
- s3sync:
key_id: $KEY
key_secret: $SECRET
bucket_url: $BUCKET
source_dir: $SOURCE