Skip to content

Commit

Permalink
Add manual dispatch action
Browse files Browse the repository at this point in the history
  • Loading branch information
wyhong3103 committed Feb 15, 2024
1 parent 5b64d2e commit da47947
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Test and Deploy

on:
workflow_dispatch:
push:
branches:
- main
Expand Down Expand Up @@ -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"

0 comments on commit da47947

Please sign in to comment.