From fdf1c852e14c627e51d6b46c947b71929278b7ed Mon Sep 17 00:00:00 2001 From: Lee sang Yeop Date: Tue, 1 Aug 2023 21:15:04 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Fix:=20=EB=B0=B0=ED=8F=AC=20=EC=9E=90?= =?UTF-8?q?=EB=8F=99=ED=99=94=20=EC=98=88=EC=A0=84=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index d6318102..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: deploy burimi app - -on: - push: - branches: - - main - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Generate deployment package - run: zip -r ${{ github.sha }}.zip . -x "*.git*" node_modules - - - name: Deploy to EB - uses: einaregilsson/beanstalk-deploy@v20 - with: - aws_access_key: ${{secrets.AWS_ACCESS_KEY_ID}} - aws_secret_key: ${{secrets.AWS_SECRET_ACCESS_KEY}} - application_name: burimi-server - environment_name: Burimi-server-env - version_label: ${{ github.sha }} - version_description: ${{ github.event.head_commit.message }} - region: ap-northeast-2 - deployment_package: ${{ github.sha }}.zip From 62baca3c3e22d3a639a907cc578abd9a0619bcbb Mon Sep 17 00:00:00 2001 From: Lee sang Yeop Date: Tue, 1 Aug 2023 21:32:39 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Fix:=20undefined=20=ED=83=80=EC=9E=85?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EB=AC=B8=EC=9E=90=EC=97=B4=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/notice/controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/notice/controller.ts b/src/apis/notice/controller.ts index 851755c6..009145f4 100644 --- a/src/apis/notice/controller.ts +++ b/src/apis/notice/controller.ts @@ -6,7 +6,7 @@ router.get('/', async (req: Request, res: Response) => { try { const major = req.query.major as string; let notices; - if (major === undefined) { + if (major === 'undefined') { notices = await getSchoolNotices(); } else { notices = await getNotices(major);