build: reduce unnecessary builds

This commit is contained in:
Cotes Chung 2022-12-05 00:30:37 +08:00
parent fa9879b5f1
commit 9de95bf089
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
2 changed files with 3 additions and 1 deletions

View file

@ -2,7 +2,7 @@ name: 'CI'
on: on:
push: push:
branches-ignore: branches-ignore:
- 'release/**' - 'production'
- 'docs' - 'docs'
tags-ignore: tags-ignore:
- '**' - '**'

View file

@ -4,6 +4,8 @@ on:
push: push:
paths: paths:
- '_sass/**.scss' - '_sass/**.scss'
tags-ignore:
- '**'
pull_request: pull_request:
paths: paths:
- '_sass/**.scss' - '_sass/**.scss'