From dfd609ded3c4b51e5042e1f600832027bb8593d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BE=E5=87=A0=E6=B5=B7?= Date: Thu, 8 Oct 2020 11:32:46 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E8=B0=83=E6=95=B4ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0384c0..d60c74f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,7 @@ jobs: node-version: '12.x' - run: npm install - run: npm run lint && npm run build:prod + - run: cd dist/index/ && tar -cf index.tar ./* && mv index.tar ../../ - name: Upload a Build Artifact uses: actions/upload-artifact@v2.1.4 @@ -24,9 +25,6 @@ jobs: name: dist path: ./dist/index/* - - name: Package products - - run: cd dist/index/ && tar -cf index.tar ./* && cp index.tar ../../ - - name: SCP uses: appleboy/scp-action@master