diff --git a/.travis.yml b/.travis.yml index ccf3bf4e9c..a8baf55b71 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 fcafd16e39..fdb04b93a9 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' \