File tree Expand file tree Collapse file tree 1 file changed +29
-13
lines changed Expand file tree Collapse file tree 1 file changed +29
-13
lines changed Original file line number Diff line number Diff line change 33# Check https://circleci.com/docs/2.0/language-java/ for more details
44#
55version : 2.1
6- jobs :
7- publish_release :
6+
7+ #
8+ # EXECUTORS AND COMMANDS
9+ #
10+
11+ executors :
12+ redux_executor :
813 docker :
914 - image : circleci/openjdk:8-jdk
1015 working_directory : ~/repo
1318 JVM_OPTS : -Xmx3200m
1419 TERM : dumb
1520
21+ jobs :
22+ publish_release :
23+ executor : redux_executor
1624 steps :
1725 - checkout
1826 # Download and cache dependencies
3644
3745
3846 build :
39- docker :
40- - image : circleci/openjdk:8-jdk
41-
42- working_directory : ~/repo
43-
44- environment :
45- # Customize the JVM maximum heap limit
46- JVM_OPTS : -Xmx3200m
47- TERM : dumb
48-
47+ executor : redux_executor
4948 steps :
5049 - checkout
5150
6665 # run tests!
6766 - run : ./gradlew jvmTest
6867
68+ deploy_website_to_prod :
69+ docker :
70+ - image : circleci/node
71+ working_directory : ~/repo
72+ steps :
73+ - checkout
74+ - run : |
75+ nvm use
76+ npm install now -g
77+ now --token $ZEIT_NOW_TOKEN --prod
78+
6979workflows :
7080 build_test :
7181 jobs :
@@ -84,4 +94,10 @@ workflows:
8494 branches :
8595 only :
8696 - release
87-
97+ deploy_website :
98+ jobs :
99+ - deploy_website_to_prod :
100+ filters :
101+ branches :
102+ only :
103+ - master
You can’t perform that action at this time.
0 commit comments