fix(ci): update submodule script

This commit is contained in:
Mrugesh Mohapatra
2019-02-15 15:22:26 +05:30
committed by Stuart Taylor
parent 25a6f0441f
commit e9e32e06e2
2 changed files with 4 additions and 3 deletions

View File

@ -28,5 +28,5 @@ jobs:
- stage: Artifacts builds - stage: Artifacts builds
if: branch = master && type != pull_request if: branch = master && type != pull_request
script: bash trigger-build.sh script: bash tools/ci-scripts/trigger-build.sh

View File

@ -6,7 +6,8 @@ then
git clone https://github.com/"$DOCKER_PUSH_REPO".git docker-push-repo git clone https://github.com/"$DOCKER_PUSH_REPO".git docker-push-repo
cd docker-push-repo/freecodecamp cd docker-push-repo/freecodecamp
git pull --rebase origin master git submodule update --init --remote --recursive
git submodule status
cd ../ cd ../
git add freecodecamp git add freecodecamp
git -c user.name="$DOCKER_PUSH_USER" -c user.email='travis' \ git -c user.name="$DOCKER_PUSH_USER" -c user.email='travis' \