From 10db5492dac3bf6fdf4e61b5fc9ca239e1108f72 Mon Sep 17 00:00:00 2001 From: mizanmahi Date: Sun, 27 Oct 2024 22:29:39 +0600 Subject: [PATCH] add: a test bug --- .github/workflows/deploy.yml | 9 +++++---- src/app.ts | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5680da6..fb66a49 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,10 +2,11 @@ name: Build, Push, and Deploy Docker Image to EC2 on: push: - branches: - - main - - dev # Trigger the workflow on push to the dev branch - + #branches: + #- main + #- dev # Trigger the workflow on push to the dev branch + tags: + - 0.* jobs: build_and_deploy: runs-on: ubuntu-latest diff --git a/src/app.ts b/src/app.ts index 61cc4d3..4c555b4 100644 --- a/src/app.ts +++ b/src/app.ts @@ -27,7 +27,7 @@ app.use((req: Request, res: Response, next: NextFunction) => { }); app.get('/', (req: Request, res: Response) => { - res.send('Hello World!'); + res.send('Hello World with some bug!'); }); export default app;