forked from madeagency/reactivity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
37 lines (37 loc) · 926 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
machine:
node:
version: v8.2.1
dependencies:
pre:
- rm -rf node_modules
- curl -o- -L https://yarnpkg.com/install.sh | bash
- yarn global add greenkeeper-lockfile@1
- yarn global add now
- yarn global add now-purge
override:
- yarn install
compile:
pre:
- greenkeeper-lockfile-update
override:
- yarn build
post:
- greenkeeper-lockfile-upload
test:
override:
- echo "No tests configured"
deployment:
development:
branch: dev
commands:
- |
URL=$(now -t ${NOW_TOKEN} --public --dotenv=.sample.env)
now -t ${NOW_TOKEN} alias set ${URL} reactivity-dev.now.sh
- now-purge -t ${NOW_TOKEN} -n reactivity
production:
branch: master
commands:
- |
URL=$(now -t ${NOW_TOKEN} --public --dotenv=.sample.env)
now -t ${NOW_TOKEN} alias set ${URL} reactivity.now.sh
- now-purge -t ${NOW_TOKEN} -n reactivity