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.