diff --git a/.github/workflows/build_release_and_notify.yml b/.github/workflows/build_release_and_notify.yml index 558fea7..25ace87 100644 --- a/.github/workflows/build_release_and_notify.yml +++ b/.github/workflows/build_release_and_notify.yml @@ -74,7 +74,14 @@ jobs: # 6. PyInstaller를 사용해 파이썬 코드를 실행 파일로 만듭니다. - name: Build executable with PyInstaller - run: poetry run pyinstaller main.py --name ${{ env.EXE_NAME }} --onefile --noconsole + run: | + poetry run pyinstaller \ + --clean \ + --additional-hooks-dir ./hooks \ + --add-data "app/assets:assets" \ + --onefile \ + --name qgenie-api \ + app/main.py # 7. 빌드된 실행 파일을 다음 단계(deploy)에서 사용할 수 있도록 아티팩트로 업로드합니다. - name: Upload artifact