Update 5etools-docker deploy workflow to trigger on only its paths

This commit is contained in:
Joey Hafner 2024-07-17 16:42:30 -07:00
parent 0a6822ad9d
commit 3bf32a161c
No known key found for this signature in database

View File

@ -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: