From 0810864aee94d893d846b85933d1beeac35cbd9e Mon Sep 17 00:00:00 2001 From: Sam Tate Date: Fri, 28 Jun 2024 11:08:57 +0100 Subject: [PATCH] Configured action to only run on main --- .gitea/workflows/hugo-deploy.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/hugo-deploy.yaml b/.gitea/workflows/hugo-deploy.yaml index e79d198..c41c52d 100644 --- a/.gitea/workflows/hugo-deploy.yaml +++ b/.gitea/workflows/hugo-deploy.yaml @@ -1,6 +1,9 @@ name: Hugo Deploy Pipeline run-name: Builds the Hugo site and Deploys via SSH to the Server -on: [push] +on: + push: + branches: + - main jobs: Build-and-Deploy: