From 083eae69232986d16f3d8c15bb891fae340faa40 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Tue, 3 Mar 2020 22:05:35 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Deploy=20:=20fix=20deploy=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 89449cf0..be2fb600 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,8 +15,13 @@ jobs: - name: Build and Deploy uses: JamesIves/github-pages-deploy-action@master env: + CI: true + PROGRESS: none + GIT_CONFIG_NAME: qixian.cs + GIT_CONFIG_EMAIL: qixian.cs@outlook.com + NODE_OPTIONS: --max_old_space_size=4096 ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: site GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} BRANCH: gh-pages FOLDER: 'dist/' - BUILD_SCRIPT: yarn && npm run deploy + BUILD_SCRIPT: yarn && npm uninstall husky && npm run site && git checkout . && git clean -df