Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 13c0705

Browse files
authored
Merge pull request plotly#1494 from plotly/circleCI
circleci config
2 parents b1d5bb0 + 7dd3074 commit 13c0705

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.circleci/config.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
version: 2
2+
jobs:
3+
build:
4+
resource_class: xlarge
5+
docker:
6+
# a packaged system that has the instructions for creating a running container.
7+
- image: circleci/ruby:2.3.3
8+
9+
working_directory: ~/repo
10+
11+
# actions that need to be taken to perform your job
12+
steps:
13+
- add_ssh_keys:
14+
fingerprints:
15+
- "SHA256:USaw9IC3qDmo5lTDeDE1ctu2VeLlrFbqhYZrPVJlw2U"
16+
17+
# checks out the source code for a job over SSH
18+
- checkout
19+
20+
- run:
21+
name: install dependencies
22+
command: |
23+
gem install bundler
24+
bundle install
25+
26+
- run:
27+
name: deployment
28+
command: |
29+
if [ "${CIRCLE_BRANCH}" == "source-design-merge" ]; then
30+
rake deploy
31+
else
32+
bundle exec jekyll build
33+
fi

0 commit comments

Comments
 (0)