From aad56179e66666daeba76b278cdf05af45e4a1fe Mon Sep 17 00:00:00 2001 From: Acero Liang Date: Wed, 24 Jul 2024 19:18:44 -0400 Subject: [PATCH] new gh-pages workflow --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d64231a..d4286af 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '16' - name: Install dependencies run: npm install @@ -32,8 +32,8 @@ jobs: fi - name: Deploy to GitHub Pages - if: success() uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: gh-pages publish_dir: ./dist