Skip to content

Commit

Permalink
fix: 删除重复构建的步骤 (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiliang114 authored May 10, 2024
1 parent 7beb8da commit b8f2fcf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: [ main ]
branches: [main]

jobs:
build:
Expand All @@ -13,21 +13,20 @@ jobs:
node-version: [14.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
yarn
yarn run compile:ext-worker
yarn run build
- name: Build
run: |
yarn
yarn run build
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ jobs:
- name: Run CI
run: |
yarn
yarn compile:ext-worker
yarn build

0 comments on commit b8f2fcf

Please sign in to comment.