From f2191c1cf6d2ff55d741bf6032742a853ab2dde8 Mon Sep 17 00:00:00 2001 From: spiral Date: Tue, 20 Sep 2022 14:27:41 +0000 Subject: [PATCH] fix(ci): only rebuild dotnet-project docker image on dotnet-specific changes --- .github/workflows/docker.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7ac9075f..678ebb3d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,7 +1,13 @@ -name: Build and push Docker image +name: Build and push Docker image on: push: branches: [main] + paths: + - 'Myriad/**' + - 'PluralKit.API/**' + - 'PluralKit.Bot/**' + - 'PluralKit.Core/**' + jobs: deploy: runs-on: ubuntu-latest