From c5a9e6c5e9cf0849da69c8dd7f67a85fea7ebfd5 Mon Sep 17 00:00:00 2001 From: Buzz Date: Thu, 22 Aug 2024 10:47:38 +1000 Subject: [PATCH] Update deploy.yml - auto-deploy on commit --- .github/workflows/deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ae81545..d83d032 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,8 +1,10 @@ name: Deploy -# Define when the workflow should run on: - # Allow manual triggering of the workflow from the Actions tab + # Runs on pushes targeting the default branch + push: + branches: ["main"] + # also Allow manual triggering of the workflow from the Actions tab workflow_dispatch: # Allow inputs to be passed when manually triggering the workflow from the Actions tab