Update 5etools-docker deploy workflow to trigger on only its paths
This commit is contained in:
parent
0a6822ad9d
commit
3bf32a161c
14
.github/workflows/5etools-docker.yml
vendored
14
.github/workflows/5etools-docker.yml
vendored
@ -4,16 +4,14 @@ on:
|
||||
# Triggers the workflow when changes are made to the image on the main branch
|
||||
push:
|
||||
branches: [ main ]
|
||||
paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||
- '.github/**'
|
||||
- 'docker-compose.yml'
|
||||
- 'README.md'
|
||||
paths:
|
||||
- 'projects/5etools-docker/Dockerfile'
|
||||
- 'projects/5etools-docker/init.sh'
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||
- '.github/**'
|
||||
- 'docker-compose.yml'
|
||||
- 'README.md'
|
||||
paths:
|
||||
- 'projects/5etools-docker/Dockerfile'
|
||||
- 'projects/5etools-docker/init.sh'
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user