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 # Triggers the workflow when changes are made to the image on 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 paths:
- '.github/**' - 'projects/5etools-docker/Dockerfile'
- 'docker-compose.yml' - 'projects/5etools-docker/init.sh'
- 'README.md'
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 paths:
- '.github/**' - 'projects/5etools-docker/Dockerfile'
- 'docker-compose.yml' - 'projects/5etools-docker/init.sh'
- 'README.md'
# 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: