File tree Expand file tree Collapse file tree 1 file changed +28
-28
lines changed Expand file tree Collapse file tree 1 file changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -9,48 +9,48 @@ commands:
9
9
ditto-transform :
10
10
description : Run Ditto in order to transform the base URL to https://pokeapi.co instead of localhost
11
11
steps :
12
- - run : pip install --user -r requirements.txt
13
- - run :
14
- command : |
15
- ~/.local/bin/ditto transform \
16
- --base-url='https://pokeapi.co' \
17
- --src-dir=data \
18
- --dest-dir=_gen
12
+ - run : pip install --user -r requirements.txt
13
+ - run :
14
+ command : |
15
+ ~/.local/bin/ditto transform \
16
+ --base-url='https://pokeapi.co' \
17
+ --src-dir=data \
18
+ --dest-dir=_gen
19
19
20
20
jobs :
21
21
test :
22
22
executor : python36
23
23
steps :
24
- - checkout
25
- - ditto-transform
24
+ - checkout
25
+ - ditto-transform
26
26
build :
27
27
executor : python36
28
28
steps :
29
- - checkout
30
- - ditto-transform
31
- - run : tar czf _gen.tar.gz _gen/*
32
- - store_artifacts :
33
- path : _gen.tar.gz
29
+ - checkout
30
+ - ditto-transform
31
+ - run : tar czf _gen.tar.gz _gen/*
32
+ - store_artifacts :
33
+ path : _gen.tar.gz
34
34
deploy :
35
35
executor : python36
36
36
steps :
37
37
# Trigger a new build of the deploy project
38
- - run : " curl -X POST --header \" Content-Type: application/json\" https://circleci.com/api/v1.1/project/github/PokeAPI/deploy/build?circle-token=$CIRCLECI_API_TOKEN"
38
+ - run : " curl -X POST --header \" Content-Type: application/json\" https://circleci.com/api/v1.1/project/github/PokeAPI/deploy/build?circle-token=$CIRCLECI_API_TOKEN"
39
39
40
40
workflows :
41
41
version : 2
42
42
test-build-and-deploy :
43
43
jobs :
44
- - test
45
- - build :
46
- requires :
47
- - test
48
- filters :
49
- branches :
50
- only : master
51
- - deploy :
52
- requires :
53
- - build
54
- filters :
55
- branches :
56
- only : master
44
+ - test
45
+ - build :
46
+ requires :
47
+ - test
48
+ filters :
49
+ branches :
50
+ only : master
51
+ - deploy :
52
+ requires :
53
+ - build
54
+ filters :
55
+ branches :
56
+ only : master
You can’t perform that action at this time.
0 commit comments