File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
2
jobs :
3
- ui :
3
+ frontend :
4
4
docker :
5
5
- image : circleci/node:10.8.0
6
6
steps :
@@ -20,23 +20,38 @@ jobs:
20
20
command : npm run build
21
21
working_directory : ui
22
22
23
- build :
23
+ backend :
24
24
docker :
25
25
- image : circleci/golang:1.10
26
26
27
27
working_directory : /go/src/github.com/g3force/ssl-game-controller
28
28
steps :
29
+ - checkout
29
30
- attach_workspace :
30
31
at : ./ui/dist
31
- - checkout
32
32
- run : go get -v -t -d ./...
33
33
- run : go test -v ./...
34
34
35
+ deploy :
36
+ docker :
37
+ - image : circleci/golang:1.10
38
+
39
+ working_directory : /go/src/github.com/g3force/ssl-game-controller
40
+ steps :
41
+ - checkout
42
+ - attach_workspace :
43
+ at : ./ui/dist
44
+ - run : go get -v -t -d ./...
45
+ - run : ./release.sh
46
+ - run : ll release && tree release
47
+
48
+
35
49
workflows :
36
50
version : 2
37
51
release :
38
52
jobs :
39
- - ui
40
- - build :
53
+ - frontend
54
+ - backend
55
+ - deploy :
41
56
requires :
42
- - ui
57
+ - frontend
You can’t perform that action at this time.
0 commit comments