From 4563035c8b922c6a9cf8a76fad0f909139c6d051 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 27 Oct 2024 01:24:19 -0700 Subject: [PATCH] fix: only allow merge to mains --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4ee31f..1c4b31f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: docker build -t ${{ secrets.DOCKER_HUB_USERNAME }}/techeerism-parser:$DOCKER_IMAGE_TAG . docker push ${{ secrets.DOCKER_HUB_USERNAME }}/techeerism-parser:$DOCKER_IMAGE_TAG - name: Send Image and Version to Slack - # if: github.ref == 'refs/heads/main' # main 브랜치에 머지 시에만 실행 + if: github.ref == 'refs/heads/main' # main 브랜치에 머지 시에만 실행 env: IMAGE_NAME: ${{ secrets.DOCKER_HUB_USERNAME }}/techeerism-parser DOCKER_IMAGE_TAG: ${{ steps.set_docker_image_tag.outputs.DOCKER_IMAGE_TAG }}