From 95381e91a65d074b910fb59ccf93535349549969 Mon Sep 17 00:00:00 2001 From: BugKing Date: Thu, 3 Dec 2020 19:57:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?build:=20=E4=BF=AE=E6=94=B9=20submodule=20?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-push.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index 9d5239247e..0d84b802a6 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -18,8 +18,9 @@ jobs: name: Build Docker Image and Push steps: - uses: actions/checkout@v2 - - name: Checkout submodules - run: git submodule update --init --recursive + with: + submodules: true + - name: Inject slug/short variables uses: rlespinasse/github-slug-action@v3.x - name: Cache node modules From 504f47d4d4dc63a03c9dcffaa8f852e3d8023eef Mon Sep 17 00:00:00 2001 From: BugKing Date: Thu, 3 Dec 2020 20:09:44 +0800 Subject: [PATCH 2/2] =?UTF-8?q?build:=20checkout=20action=20=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=20token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index 0d84b802a6..a87efc78c3 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -20,6 +20,7 @@ jobs: - uses: actions/checkout@v2 with: submodules: true + token: ${{ secrets.ACCESS_TOKEN }} - name: Inject slug/short variables uses: rlespinasse/github-slug-action@v3.x