forked from COSD-PANDA/datasd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
33 lines (33 loc) · 692 Bytes
/
circle.yml
File metadata and controls
33 lines (33 loc) · 692 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
machine:
pre:
- mkdir ~/.yarn-cache
node:
version: stable
environment:
PATH: ${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin:${HOME}/.yarn/bin
dependencies:
pre:
- curl -o- -L https://yarnpkg.com/install.sh | bash
cache_directories:
- ~/.yarn-cache
override:
- bundle install
- yarn install
# - npm install
general:
branches:
only:
- master
- production
deployment:
staging:
branch: master
commands:
- gulp publish
- surge --project ./site --domain datasd-stage.surge.sh
#- s3_website push
production:
branch: production
commands:
- gulp publish
- s3_website push