Skip to content

Commit

Permalink
Run workflows only when files change (#370)
Browse files Browse the repository at this point in the history
relevant files
  • Loading branch information
int-ua authored Dec 23, 2020
1 parent c0f9062 commit 82ede33
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Book
name: Documentation builder

on:
push:
branches:
- master
paths:
- 'doc/**'
- '.github/workflows/book.yml'

jobs:
book:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@
#
# This action is triggerd by any PR against the master branch as well
# as on any push to the master branch itself
# that changes any file in gfx/UltimateCataclysm folder
name: UltimateCataclysm composer

on:
push:
branches:
- master
paths:
- 'gfx/UltimateCataclysm/**'
- '.github/workflows/ci_build.yml'
pull_request:
branches:
- master

name: CI Build
paths:
- 'gfx/UltimateCataclysm/**'
- '.github/workflows/ci_build.yml'

jobs:
build:
Expand Down

0 comments on commit 82ede33

Please sign in to comment.