From da47947dd0802b73153eb956d49711920be71c7c Mon Sep 17 00:00:00 2001 From: wyhong3103 Date: Fri, 16 Feb 2024 02:04:37 +0800 Subject: [PATCH] Add manual dispatch action --- .github/workflows/test-and-deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 7ff67c1..1dbf27f 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -1,6 +1,7 @@ name: Test and Deploy on: + workflow_dispatch: push: branches: - main @@ -62,3 +63,5 @@ jobs: docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./backend docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" + +