From bb88b665fcab5d6e62885558d40e5837f3425b80 Mon Sep 17 00:00:00 2001 From: Jacob Phillips Date: Mon, 18 Nov 2024 15:28:09 -0500 Subject: [PATCH] Add test badge to readme, dont deploy on readme changes. --- .github/workflows/deploy.yml | 8 ++++++++ README.md | 2 ++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 983e9b7..4b3fb36 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,6 +8,14 @@ on: push: branches: - main + paths: + - '**.js' + - '**.ts' + - '**.json' + - 'src/**' + - 'static/**' + - '.env' + - '.env.*' permissions: contents: write jobs: diff --git a/README.md b/README.md index 87c8114..64b13fc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Svelte Website Template +[![Test](https://github.com/jifalops/svelte-static/actions/workflows/test.yml/badge.svg)](https://github.com/jifalops/svelte-static/actions/workflows/test.yml) + A starting point for static websites, SPAs, and PWAs using Svelte 5+. It comes with a flexible development container a skeleton ports and adapters architecture.