Prevent unnecessary Docker builds
This commit is contained in:
parent
10fa1da740
commit
2e3bc081b8
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -7,8 +7,14 @@ on:
|
|||||||
# Triggers the workflow on push or pull request events but only for the main branch
|
# Triggers the workflow on push or pull request events but only for the main branch
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||||
|
- '.github/**'
|
||||||
|
- 'docker-compose.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||||
|
- '.github/**'
|
||||||
|
- 'docker-compose.yml'
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user