From 7a56d0bba665bb7774c4bd978686dbac4150b521 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 13 Jan 2020 17:31:43 +0800 Subject: [PATCH] chore: Modify workflows config. --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43e2f228..5cf4e2fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,9 +16,8 @@ jobs: auth_header="$(git config --local --get http.https://github.com/.extraheader)" git submodule sync --recursive cat .gitmodules - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 - git pull --recurse-submodules - cd react-native && git checkout gh-pages + git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive + git checkout gh-pages - name: Setup Node uses: actions/setup-node@v1