ci: update build trigger

This commit is contained in:
yi_Xu 2022-07-27 18:48:56 +08:00
parent 0fadab5c23
commit ee24811d35
No known key found for this signature in database
GPG Key ID: 208069D69C54E2EE

View File

@ -2,10 +2,7 @@ name: Build
on: on:
push: push:
release:
branches: [main] branches: [main]
types:
- published
paths-ignore: paths-ignore:
- "**.md" - "**.md"
- "**.spec.js" - "**.spec.js"
@ -15,7 +12,7 @@ on:
- "Dockerfile" - "Dockerfile"
- ".gitignore" - ".gitignore"
- ".github/**" - ".github/**"
- "!.github/workflows/release.yml" - "!.github/workflows/build.yml"
jobs: jobs:
build: build: