From aac8feb0316da045d6f895e4ba11e8dd46fb784a Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sun, 28 Aug 2022 15:06:20 +0800 Subject: [PATCH] chore: update github workflow --- .github/workflows/deploy-website.yml | 40 ++++++++++++++-------------- .github/workflows/vercel-nightly.yml | 6 ++--- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 1b6a2c83..d8644980 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -5,7 +5,7 @@ on: branches: - master paths: - - "./website/**" + - "website/**" workflow_dispatch: jobs: @@ -19,25 +19,25 @@ jobs: working-directory: website steps: - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Cache pnpm modules - uses: actions/cache@v2 - with: - path: ~/.pnpm-store - key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}- - - uses: pnpm/action-setup@v2.0.1 - with: - version: 7.1.9 - run_install: true - - name: Install Packages - run: pnpm install - - name: Build page - run: pnpm build + # - name: Use Node.js ${{ matrix.node-version }} + # uses: actions/setup-node@v1 + # with: + # node-version: ${{ matrix.node-version }} + # - name: Cache pnpm modules + # uses: actions/cache@v2 + # with: + # path: ~/.pnpm-store + # key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} + # restore-keys: | + # ${{ runner.os }}- + # - uses: pnpm/action-setup@v2.0.1 + # with: + # version: 7.1.9 + # run_install: true + # - name: Install Packages + # run: pnpm install + # - name: Build page + # run: pnpm build # - name: Deploy to gh-pages # uses: peaceiris/actions-gh-pages@v3 # with: diff --git a/.github/workflows/vercel-nightly.yml b/.github/workflows/vercel-nightly.yml index 6f309a5f..84660b48 100644 --- a/.github/workflows/vercel-nightly.yml +++ b/.github/workflows/vercel-nightly.yml @@ -5,9 +5,9 @@ on: branches: - master paths: - - "./client/web/**" - - "./client/shared/**" - - "./client/packages/design/**" + - "client/web/**" + - "client/shared/**" + - "client/packages/design/**" workflow_dispatch: jobs: