From 6fee618c4bb814674c31a3feda090216042ccaa3 Mon Sep 17 00:00:00 2001 From: Geovanny Risco Date: Fri, 14 Jun 2024 18:06:23 +0200 Subject: [PATCH] update CI/CD workflows --- .github/workflows/main_laia-backend.yml | 4 ++++ .github/workflows/static.yml | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/main_laia-backend.yml b/.github/workflows/main_laia-backend.yml index 320b972..1b68fb3 100644 --- a/.github/workflows/main_laia-backend.yml +++ b/.github/workflows/main_laia-backend.yml @@ -8,6 +8,10 @@ on: push: branches: - main + paths: + - "**.py" + - "data/**" + - "prompts/**" workflow_dispatch: env: diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index f2c9e97..49350d5 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -5,6 +5,13 @@ on: # Runs on pushes targeting the default branch push: branches: ["main"] + paths: + - "**.js" + - "**.css" + - "**.html" + - "/data/**" + - "/resources/**" + - "/fonts/**" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: