From 597853655d4cb8e4e145fba97ea42257e5da22a3 Mon Sep 17 00:00:00 2001 From: Pierre Penninckx Date: Fri, 16 Aug 2024 15:20:45 -0700 Subject: [PATCH] trigger the long demo build workflow only when changed (#277) --- .github/workflows/demo.yml | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 2dbfbca..173fb52 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -3,9 +3,12 @@ name: Demo on: workflow_dispatch: pull_request: + paths: &paths + - 'demo/**' push: branches: - main + paths: *paths jobs: build: diff --git a/README.md b/README.md index 6ef3db2..a1725ba 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Documentation](https://github.com/ibizaman/selfhostblocks/actions/workflows/pages.yml/badge.svg)](https://github.com/ibizaman/selfhostblocks/actions/workflows/pages.yml) [![Tests](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgarnix.io%2Fapi%2Fbadges%2Fibizaman%2Fselfhostblocks%3Fbranch%3Dmain)](https://garnix.io) (using Garnix) -[![demos](https://github.com/ibizaman/selfhostblocks/actions/workflows/Demo/badge.svg)](https://github.com/ibizaman/selfhostblocks/actions/workflows/demo.yml) +[![Demo](https://github.com/ibizaman/selfhostblocks/actions/workflows/demo.yml/badge.svg)](https://github.com/ibizaman/selfhostblocks/actions/workflows/demo.yml) SHB's (Self Host Blocks) is yet another server management tool whose goal is to provide better building blocks for self-hosting. Indeed, SHB provides opinionated [building