From a32c5ccd105bf6b264c356c9249491fac90b2e3e Mon Sep 17 00:00:00 2001 From: ngutech21 Date: Sat, 23 Dec 2023 15:34:12 +0100 Subject: [PATCH] feat: deploy to dockerhub on master push --- .github/workflows/dockerhub.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index ae246488..ac786023 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -1,7 +1,10 @@ name: docker-push-dockerhub on: - workflow_dispatch: + push: + branches: ["master"] + pull_request: + branches: ["master"] jobs: build-and-push: