From 5580aea66e778e4552a310987c4d717aa5fe11c8 Mon Sep 17 00:00:00 2001 From: Okiki Date: Sun, 14 May 2023 08:16:27 +0000 Subject: [PATCH] ci: fix github action --- .github/workflows/build-js.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-js.yml b/.github/workflows/build-js.yml index 9d63aeb..08c1b00 100644 --- a/.github/workflows/build-js.yml +++ b/.github/workflows/build-js.yml @@ -7,7 +7,6 @@ on: push: branches: [main] paths: - - '.typedoc/**/*' - '*.ts' - '*.js' - '*.json' @@ -18,10 +17,12 @@ on: - 'src/**/*' - 'media/**/*' - 'tests/**/*' + workflow_dispatch: jobs: build: runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, '[skip ci]')" strategy: matrix: @@ -54,10 +55,9 @@ jobs: - name: Pre-Release run: pnpm pre-release - - name: Add lib, types and docs to Git + - name: Add lib, and types to Git if: ${{ github.ref == 'refs/heads/main' }} run: | - git add --force docs/ git add --force lib/ - name: Commit files -- 2.51.2