From 37dcb7eabbaf5997da5d8f1e38b8b51d44a19d63 Mon Sep 17 00:00:00 2001 From: James Ravenscroft Date: Thu, 14 Jan 2021 11:54:20 +0000 Subject: [PATCH] Add drone yaml for only publishing main --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.drone.yml b/.drone.yml index 81bb142..486f8ee 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,6 +4,9 @@ name: update_website steps: - name: hugo_build image: alombarte/hugo + when: + branch: + - main commands: - git submodule init - git submodule update