From 30227d5ac293fc11d959956b72e1887056b680c0 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Tue, 8 Dec 2020 19:47:09 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20CI:=20fix=20Deploy=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6d2d0a81..f30d1422 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,9 +20,9 @@ jobs: - name: site run: npm run site - - name: deploy + - name: Deploy uses: peaceiris/actions-gh-pages@v3 - env: + with: github_token: ${{ secrets.ACTION_TOKEN }} - publish_dir: ./dist - allow_empty_commit: true + publish_dir: ./public + force_orphan: true