From 9589cd07eced930fb7ff90f14907dec6b106d658 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:50:23 +0000 Subject: [PATCH] ci: deploy api on changes --- .github/workflows/deploy-api.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index ad76b9d6b..24903959d 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -1,13 +1,19 @@ name: Deploy API +# Only run this workflow when the API directory changes on: + push: + paths: + - 'api/**' + branches: + - main workflow_dispatch: concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: ci: - name: Release + name: Build and Deploy runs-on: ubuntu-latest strategy: matrix: