Configured action to only run on main

This commit is contained in:
Sam Tate 2024-06-28 11:08:57 +01:00
parent 977055499e
commit 0810864aee

View file

@ -1,6 +1,9 @@
name: Hugo Deploy Pipeline name: Hugo Deploy Pipeline
run-name: Builds the Hugo site and Deploys via SSH to the Server run-name: Builds the Hugo site and Deploys via SSH to the Server
on: [push] on:
push:
branches:
- main
jobs: jobs:
Build-and-Deploy: Build-and-Deploy: