Configured action to only run on main
This commit is contained in:
parent
977055499e
commit
0810864aee
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue