From 2ed7dd7da77e4e1ab44064f07d08c2f7000afe4f Mon Sep 17 00:00:00 2001 From: JuseungL <121665437+JuseungL@users.noreply.github.com> Date: Mon, 29 Jul 2024 01:09:18 +0900 Subject: [PATCH 1/3] =?UTF-8?q?PR=20=EC=8B=9C=20GitActions=EC=8B=A4?= =?UTF-8?q?=ED=96=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a0334f8..9c5882a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,9 +2,9 @@ name: CI/CD with Git Actions & Docker Hub # 워크플로우 트리거: 브랜치에 대한 push 이벤트 발생 시 실행 on: - push: + pull_request: branches: - - GitActionsTest + - main jobs: build: @@ -18,7 +18,7 @@ jobs: - name: Set application.yml run: | mkdir -p ./src/main/resources - echo "${{ secrets.APPLICATION_YML }}" | base64 --decode > ./src/main/resources/application.yml + echo "${{ secrets.APPLICATION_YML }}" > ./src/main/resources/application.yml # Open JDK 17 설정 - name: Set up JDK 17 From 4a7c48fb75e53f0405f01df1fd0cf540cb772665 Mon Sep 17 00:00:00 2001 From: JuseungL <121665437+JuseungL@users.noreply.github.com> Date: Mon, 29 Jul 2024 01:29:48 +0900 Subject: [PATCH 2/3] test --- .github/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9c5882a..2239a59 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,9 +2,12 @@ name: CI/CD with Git Actions & Docker Hub # 워크플로우 트리거: 브랜치에 대한 push 이벤트 발생 시 실행 on: - pull_request: + push: branches: - - main + - test +# pull_request: +# branches: +# - main jobs: build: From 707f5c49bf10a61e8b9b7c3a51f016fefc9a64a8 Mon Sep 17 00:00:00 2001 From: JuseungL <121665437+JuseungL@users.noreply.github.com> Date: Mon, 29 Jul 2024 01:48:28 +0900 Subject: [PATCH 3/3] =?UTF-8?q?main=20=EB=B8=8C=EB=9E=9C=EC=B9=98=20push?= =?UTF-8?q?=20=EC=8B=9C=20git=20actions=20=EC=8B=A4=ED=96=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2239a59..de8e85c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,7 +4,7 @@ name: CI/CD with Git Actions & Docker Hub on: push: branches: - - test + - main # pull_request: # branches: # - main