diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16cfa7a..41e2439 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,6 @@ on: jobs: build: - if: github.event_name == 'push' && contains(github.event.head_commit.message, 'Merge pull request') # 选择运行在ubuntu runs-on: ubuntu-latest @@ -48,7 +47,7 @@ jobs: # 构建小程序 - name: Build weapp - run: pnpm build:weapp + run: npm run build:weapp # 从 secrets.UPLOAD_PRIVATE_KEY 生成私钥文件 # see Project/Settings/Secrets