Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

ci: build only on release (#151)

Andrii Andrushchyshyn5745bff4712f
diff --git a/.github/workflows/client-build.yml b/.github/workflows/client-build.yml
index 98523ee70..b4a614ef7 100644
--- a/.github/workflows/client-build.yml
+++ b/.github/workflows/client-build.yml
@@ -2,9 +2,7 @@ name: Client Build
on:
push:
- branches: [main]
- pull_request:
- branches: [main]
+ tags: ["v*"]
jobs:
build:
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 1abbc960f..15aadca5f 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -2,8 +2,7 @@ name: Docker Publish
on:
push:
- branches:
- - master
+ tags: ["v*"]
jobs:
build-and-push:
diff --git a/.github/workflows/server-build.yml b/.github/workflows/server-build.yml
index 1336bf88c..e30552b68 100644
--- a/.github/workflows/server-build.yml
+++ b/.github/workflows/server-build.yml
@@ -2,9 +2,7 @@ name: Backend Build
on:
push:
- branches: [main]
- pull_request:
- branches: [main]
+ tags: ["v*"]
jobs:
build: