From 0698e77f6c807decfefaa4273e62f0bed482e481 Mon Sep 17 00:00:00 2001
From: ibizaman <ibizapeanut@gmail.com>
Date: Thu, 15 Aug 2024 07:42:12 +0200
Subject: [PATCH] also run ci action to build demos on main branch

---
 .github/workflows/demo.yml | 3 +++
 README.md                  | 1 +
 2 files changed, 4 insertions(+)

diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml
index a9374fb..048fbaf 100644
--- a/.github/workflows/demo.yml
+++ b/.github/workflows/demo.yml
@@ -3,6 +3,9 @@ name: Demo
 on:
   workflow_dispatch:
   pull_request:
+  push:
+    branches:
+      - main
 
 jobs:
   build:
diff --git a/README.md b/README.md
index 66c4e86..a7df4c2 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +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)
 
 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