Commit c861a701 authored by nguyenvu's avatar nguyenvu

Update .gitlab-ci.yml

parent 1a0c757e
Pipeline #6798 canceled with stages
...@@ -13,7 +13,7 @@ variables: ...@@ -13,7 +13,7 @@ variables:
fe_model_branch: develop-model fe_model_branch: develop-model
environment_name: staging environment_name: staging
environment_json_path: MEU.API/Config/.env.staging.json environment_json_path: MEU.API/Config/.env.staging.json
GIT_SUBMODULE_STRATEGY: recursive ##GIT_SUBMODULE_STRATEGY: recursive
build: build:
stage: build stage: build
...@@ -23,7 +23,8 @@ build: ...@@ -23,7 +23,8 @@ build:
- cicd_path=$(pwd)/$(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2) - cicd_path=$(pwd)/$(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
- cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2) - cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
- ls -la - ls -la
- sudo git pull - sudo git clone $(grep "url" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
- ls -la
- cd ../ - cd ../
- current_file_path=$(pwd)/MEU.API/Resources/ReleaseNotes/releasenotes.txt - current_file_path=$(pwd)/MEU.API/Resources/ReleaseNotes/releasenotes.txt
- release_note_folder=/var/www/release_note - release_note_folder=/var/www/release_note
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment