Browse Source

👷 CI: fix Deploy CI

chenshuai2144 5 years ago
parent
commit
a2482f0c68
1 changed files with 2 additions and 4 deletions
  1. 2 4
      .github/workflows/deploy.yml

+ 2 - 4
.github/workflows/deploy.yml

@@ -24,7 +24,5 @@ jobs:
         uses: peaceiris/actions-gh-pages@v3
         env:
           github_token: ${{ secrets.ACTION_TOKEN }}
-          PUBLISH_BRANCH: gh-pages
-          PUBLISH_DIR: ./dist
-        with:
-          emptyCommits: false
+          publish_dir: ./dist
+          allow_empty_commit: true