Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b1d5bb0 + 7dd3074 commit 13c0705Copy full SHA for 13c0705
.circleci/config.yml
@@ -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
27
+ name: deployment
28
29
+ if [ "${CIRCLE_BRANCH}" == "source-design-merge" ]; then
30
+ rake deploy
31
+ else
32
+ bundle exec jekyll build
33
+ fi
0 commit comments