From 903e4dce6d95523d3189fdc88c0fe93f7ad1bb0a Mon Sep 17 00:00:00 2001 From: James Harton Date: Fri, 18 Aug 2023 12:33:16 +1200 Subject: [PATCH] chore: don't run the deploy unless the branch is `main`. --- .drone.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.drone.yml b/.drone.yml index 493d85f..0ef801b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,6 +2,14 @@ kind: pipeline type: docker name: deploy +trigger: + branch: + include: + - main + event: + exclude: + - pull_request + steps: - name: submodules image: alpine/git