Fixed typo in ci script
This commit is contained in:
parent
3ac97d021c
commit
e0c24bea51
|
@ -240,7 +240,7 @@ docker_release:
|
||||||
- cp -r front/dist api/frontend
|
- cp -r front/dist api/frontend
|
||||||
- cd api
|
- cd api
|
||||||
script:
|
script:
|
||||||
- if [ "$CI_COMMIT_REF_NAME" == "develop" ]; then ./scripts/set-api-build-metadata $CI_COMMIT_SHORT_SHA; fi);
|
- (if [ "$CI_COMMIT_REF_NAME" == "develop" ]; then ./scripts/set-api-build-metadata.sh $CI_COMMIT_SHORT_SHA; fi);
|
||||||
- docker build -t $IMAGE .
|
- docker build -t $IMAGE .
|
||||||
- docker push $IMAGE
|
- docker push $IMAGE
|
||||||
only:
|
only:
|
||||||
|
@ -258,7 +258,7 @@ build_api:
|
||||||
paths:
|
paths:
|
||||||
- api
|
- api
|
||||||
script:
|
script:
|
||||||
- if [ "$CI_COMMIT_REF_NAME" == "develop" ]; then ./scripts/set-api-build-metadata $CI_COMMIT_SHORT_SHA; fi);
|
- (if [ "$CI_COMMIT_REF_NAME" == "develop" ]; then ./scripts/set-api-build-metadata.sh $CI_COMMIT_SHORT_SHA; fi);
|
||||||
- chmod -R 750 api
|
- chmod -R 750 api
|
||||||
- echo Done!
|
- echo Done!
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in New Issue