Fixed typo in ci script

This commit is contained in:
Eliot Berriot 2019-01-10 15:07:04 +01:00
parent 3ac97d021c
commit e0c24bea51
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 2 additions and 2 deletions

View File

@ -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: