From a434020efc9cd787aada02ffa6ea51156b1de047 Mon Sep 17 00:00:00 2001 From: ChoiseU Date: Fri, 25 Jul 2025 00:58:36 +0900 Subject: [PATCH 1/3] =?UTF-8?q?refactor:=20qgenie-ai=20=ED=8F=B4=EB=8D=94?= =?UTF-8?q?=20=EC=83=9D=EA=B8=B0=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy_executables.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_executables.yml b/.github/workflows/deploy_executables.yml index 25ab236..ddc5d93 100644 --- a/.github/workflows/deploy_executables.yml +++ b/.github/workflows/deploy_executables.yml @@ -104,8 +104,8 @@ jobs: - name: Organize files run: | mkdir -p resources/mac resources/win - mv artifacts/executable-macOS resources/mac/qgenie-ai - mv artifacts/executable-Windows resources/win/qgenie-ai.exe + mv artifacts/executable-macOS/qgenie-ai resources/mac/ + mv artifacts/executable-Windows/qgenie-ai.exe resources/win/ # 4. 변경된 파일들을 Front 리포지토리에 커밋하고 푸시합니다. - name: Commit and push changes From 67b4ee5baadf0b9a10054664df659d6b48a0dd57 Mon Sep 17 00:00:00 2001 From: ChoiseU Date: Fri, 25 Jul 2025 01:12:20 +0900 Subject: [PATCH 2/3] =?UTF-8?q?style:=20app=20=EC=AA=BD=20=EC=BB=A4?= =?UTF-8?q?=EB=B0=8B=20=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=98=81=EC=96=B4?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy_executables.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_executables.yml b/.github/workflows/deploy_executables.yml index ddc5d93..05b000a 100644 --- a/.github/workflows/deploy_executables.yml +++ b/.github/workflows/deploy_executables.yml @@ -78,6 +78,7 @@ jobs: with: name: executable-${{ runner.os }} path: dist/${{ env.EXE_NAME }} + retention-days: 1 # 2단계: 빌드된 실행 파일들을 Front 레포지토리에 배포하는 잡 deploy: @@ -117,7 +118,7 @@ jobs: if git diff-index --quiet HEAD; then echo "No changes to commit." else - git commit -m "feat: AI 실행 파일 업데이트 (${{ github.ref_name }})" + git commit -m "feat: Update AI executable (${{ github.ref_name }})" git push fi From 1c53449187997a24deb908462508744b42c7311e Mon Sep 17 00:00:00 2001 From: ChoiseU Date: Fri, 25 Jul 2025 12:41:37 +0900 Subject: [PATCH 3/3] feat: Skip deployment jobs on manual trigger --- .github/workflows/deploy_executables.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_executables.yml b/.github/workflows/deploy_executables.yml index 05b000a..2317b2e 100644 --- a/.github/workflows/deploy_executables.yml +++ b/.github/workflows/deploy_executables.yml @@ -11,6 +11,7 @@ jobs: # 1. 파이프라인 시작 알림 # ================================== start: + if: github.event_name == 'release' runs-on: ubuntu-latest steps: - name: Send Pipeline Start Notification @@ -26,7 +27,6 @@ jobs: ${{ secrets.DISCORD_WEBHOOK_URL }} # 1단계: 각 OS에서 실행 파일을 빌드하는 잡 build: - needs: start strategy: matrix: os: [macos-latest, windows-latest] @@ -84,6 +84,7 @@ jobs: deploy: # build 잡이 성공해야 실행됨 needs: build + if: github.event_name == 'release' runs-on: ubuntu-latest steps: # 1. 배포 대상인 Front 리포지토리의 코드를 가져옵니다. @@ -128,7 +129,7 @@ jobs: finish: needs: deploy runs-on: ubuntu-latest - if: always() + if: always() && github.event_name == 'release' steps: - name: Send Success Notification