Skip to content

Commit 5580aea

Browse files
committed
ci: fix github action
1 parent 61ee0d0 commit 5580aea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-js.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
push:
88
branches: [main]
99
paths:
10-
- '.typedoc/**/*'
1110
- '*.ts'
1211
- '*.js'
1312
- '*.json'
@@ -18,10 +17,12 @@ on:
1817
- 'src/**/*'
1918
- 'media/**/*'
2019
- 'tests/**/*'
20+
workflow_dispatch:
2121

2222
jobs:
2323
build:
2424
runs-on: ubuntu-latest
25+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
2526

2627
strategy:
2728
matrix:
@@ -54,10 +55,9 @@ jobs:
5455
- name: Pre-Release
5556
run: pnpm pre-release
5657

57-
- name: Add lib, types and docs to Git
58+
- name: Add lib, and types to Git
5859
if: ${{ github.ref == 'refs/heads/main' }}
5960
run: |
60-
git add --force docs/
6161
git add --force lib/
6262
6363
- name: Commit files

0 commit comments

Comments
 (0)