ci: kokoro: push-to-github: Use git push --all instead of --mirror

Unlike git push --mirror, git push --all won't delete remote branch so
that gh-pages branch won't be removed by kokoro, I think.

BUG=b:199692764
TEST=none

Change-Id: I2a5ce2f59e966775d24c25b996a1091af1d6efc9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3234557
Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
This commit is contained in:
Keiichi Watanabe 2021-10-20 20:50:45 +09:00 committed by Commit Bot
parent 8e4f87b44c
commit 610158aa55

View file

@ -7,4 +7,4 @@ GITHUB_TOKEN_FILE=$KOKORO_KEYSTORE_DIR/76320_github_token
TOKEN=$(cat $GITHUB_TOKEN_FILE)
cd "${KOKORO_ARTIFACTS_DIR}/git/crosvm"
git push --force --mirror "https://crosvm-bot:${TOKEN}@github.com/google/crosvm.git"
git push --force --all "https://crosvm-bot:${TOKEN}@github.com/google/crosvm.git"