From e9e32e06e2ea6f6b193c8d63fe1f02d4e2f04e01 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Fri, 15 Feb 2019 15:22:26 +0530 Subject: [PATCH] fix(ci): update submodule script --- .travis.yml | 4 ++-- trigger-build.sh => tools/ci-scripts/trigger-build.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) rename trigger-build.sh => tools/ci-scripts/trigger-build.sh (86%) diff --git a/.travis.yml b/.travis.yml index ccf3bf4e9cc..a8baf55b716 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,5 +28,5 @@ jobs: - stage: Artifacts builds if: branch = master && type != pull_request - script: bash trigger-build.sh - + script: bash tools/ci-scripts/trigger-build.sh + diff --git a/trigger-build.sh b/tools/ci-scripts/trigger-build.sh similarity index 86% rename from trigger-build.sh rename to tools/ci-scripts/trigger-build.sh index fcafd16e39a..fdb04b93a94 100644 --- a/trigger-build.sh +++ b/tools/ci-scripts/trigger-build.sh @@ -6,7 +6,8 @@ then git clone https://github.com/"$DOCKER_PUSH_REPO".git docker-push-repo cd docker-push-repo/freecodecamp - git pull --rebase origin master + git submodule update --init --remote --recursive + git submodule status cd ../ git add freecodecamp git -c user.name="$DOCKER_PUSH_USER" -c user.email='travis' \