From 3bf32a161cb53c5836559007c96ddf2e4214dc1c Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 17 Jul 2024 16:42:30 -0700 Subject: [PATCH] Update 5etools-docker deploy workflow to trigger on only its paths --- .github/workflows/5etools-docker.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/5etools-docker.yml b/.github/workflows/5etools-docker.yml index 01849d37..6fa44f11 100644 --- a/.github/workflows/5etools-docker.yml +++ b/.github/workflows/5etools-docker.yml @@ -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: