forked from cloudify-cosmo/docs.getcloudify.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
29 lines (26 loc) · 888 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
machine:
node:
version: 0.10.40
dependencies:
pre:
- wget https://github.com/spf13/hugo/releases/download/v0.14/hugo_0.14_linux_amd64.tar.gz -O /tmp/hugo.tar.gz
- tar -xvf /tmp/hugo.tar.gz
- mv hugo_0.14_linux_amd64/hugo_0.14_linux_amd64 hugo_0.14_linux_amd64/hugo
- 'echo -e {\\n \"content\" :\\n {\\n \"root\" : \"$PWD\"\\n }\\n} > config.json'
- git clone https://github.com/cloudify-cosmo/docs.getcloudify.org-site.git
override:
- npm install -g bower
- npm install -g grunt-cli
- cd docs.getcloudify.org-site && bower install
- cd docs.getcloudify.org-site && npm install
test:
override:
- cd docs.getcloudify.org-site && grunt build:
environment:
PATH: $PATH:$PWD/hugo_0.14_linux_amd64
CONFIG_JSON: $PWD/config.json
deployment:
release:
tag: /.*/
commands:
- (true)