Skip to content
Snippets Groups Projects
Verified Commit e0c24bea authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed typo in ci script

parent 3ac97d02
No related branches found
No related tags found
No related merge requests found
......@@ -240,7 +240,7 @@ docker_release:
- cp -r front/dist api/frontend
- cd api
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 push $IMAGE
only:
......@@ -258,7 +258,7 @@ build_api:
paths:
- api
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
- echo Done!
only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment