forked from concur/developer.concur.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
41 lines (37 loc) · 1008 Bytes
/
circle.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
machine:
timezone:
America/Los_Angeles
ruby:
version: 2.2.5
node:
version: 6.11.3
general:
branches:
only:
- preview
- livesite
dependencies:
cache_directories:
- tmp/.htmlproofer
override:
- ./build/install_aws_cli.sh
- bundle install
- npm install
test:
override:
- ./build/write_branch.sh
- ./build/write_commit.sh
- ./build/write_forms.sh
- DEVCENTER_API_FORMS=https://test npm test -- --runInBand && npm run build:webpack
deployment:
preview:
branch: preview
commands:
- DEVCENTER_API_FORMS=https://forms.preview.developer.concur.com npm run build
- ruby check_links.rb
- aws s3 sync ./_site s3://preview-developer-concur-com --region us-west-2 --output text --delete
livesite:
branch: livesite
commands:
- DEVCENTER_API_FORMS=https://forms.developer.concur.com npm run build
- aws s3 sync ./_site s3://livesite-developer-concur-com --region us-west-2 --output text --delete