From c0d176af272b39c4dc08e7cadee0a8e5b45d0938 Mon Sep 17 00:00:00 2001 From: wynnzen <5346458+wynnzen@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:37:48 +0800 Subject: [PATCH] Update pages.yml --- .github/workflows/pages.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 207df20..4a0a87e 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -2,9 +2,11 @@ name: Build and Upload Dist on: push: branches: - - main + - master + # Allows you to run this workflow manually from the Actions tab on GitHub. + workflow_dispatch: jobs: - build_job: + build: runs-on: ubuntu-latest steps: - name: Checkout code @@ -12,7 +14,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '18.x' - name: Install dependencies run: npm install - name: Build