From 03829e058bfe070c3c06f7d44c745e3838a5cb1a Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Tue, 27 Aug 2024 21:23:18 +0200 Subject: [PATCH] Run deployment only on main branch --- .forgejo/workflows/doc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/doc.yaml b/.forgejo/workflows/doc.yaml index 827aefa..93a30cb 100644 --- a/.forgejo/workflows/doc.yaml +++ b/.forgejo/workflows/doc.yaml @@ -14,6 +14,7 @@ jobs: deploy-doc: needs: build-doc runs-on: docker + if: github.ref == 'refs/heads/main' container: image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.6 steps: