From 262e4e12790202579c278d05ac77e2b5800df7e4 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Sat, 14 Dec 2019 11:10:59 +0800 Subject: [PATCH] Deploy Github --- .github/workflows/deploy-github.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-github.yml b/.github/workflows/deploy-github.yml index 814d03aa..5c93e9c8 100644 --- a/.github/workflows/deploy-github.yml +++ b/.github/workflows/deploy-github.yml @@ -13,7 +13,9 @@ jobs: - name: Build and Deploy uses: JamesIves/github-pages-deploy-action@master env: - ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} BRANCH: gh-pages FOLDER: dist - BUILD_SCRIPT: npm install && npm run build:github \ No newline at end of file + BUILD_SCRIPT: npm install && npm run build:github + CLEAN: true \ No newline at end of file