Loading .gitlab-ci.yml +3 −9 Original line number Diff line number Diff line Loading @@ -4,14 +4,8 @@ stages: - update before_script: - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh - chmod 700 ~/.ssh - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - git config --global user.email "mr.robot@eelo.io" - git config --global user.name "Mr. Robot" - git config --global user.name "${GITLAB_USER_NAME}" - git config --global user.email "${GITLAB_USER_EMAIL}" udpate-apk: stage: update Loading Loading @@ -42,4 +36,4 @@ udpate-apk: sed -i -E 's/LOCAL_SRC_FILES := (.*\.apk)/LOCAL_SRC_FILES := '$FILE'/g' Android.mk fi - git commit -a -m "$PROJECT update" - git push origin $CI_COMMIT_REF_NAME - git push ssh://git@gitlab.eelo.io:2222/eelo/android_prebuilts_prebuiltapks.git $CI_COMMIT_REF_NAME Loading
.gitlab-ci.yml +3 −9 Original line number Diff line number Diff line Loading @@ -4,14 +4,8 @@ stages: - update before_script: - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh - chmod 700 ~/.ssh - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - git config --global user.email "mr.robot@eelo.io" - git config --global user.name "Mr. Robot" - git config --global user.name "${GITLAB_USER_NAME}" - git config --global user.email "${GITLAB_USER_EMAIL}" udpate-apk: stage: update Loading Loading @@ -42,4 +36,4 @@ udpate-apk: sed -i -E 's/LOCAL_SRC_FILES := (.*\.apk)/LOCAL_SRC_FILES := '$FILE'/g' Android.mk fi - git commit -a -m "$PROJECT update" - git push origin $CI_COMMIT_REF_NAME - git push ssh://git@gitlab.eelo.io:2222/eelo/android_prebuilts_prebuiltapks.git $CI_COMMIT_REF_NAME