Skip to content

Commit

Permalink
Simplify 테스트를 위한 파일 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
unchaptered committed Oct 2, 2022
1 parent 9823d77 commit 61538b8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto.deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Automated-Deploy

on:
pull_request:
push:
branches:
- 'main'

Expand All @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Test ecosystem.config.json.sh
- name: Create ecosystem.config.json using ecosystem.config.json.sh
run: sh ecosystem.config.json.sh ${{ secrets.NODE_ENV }} ${{ secrets.PORT }} ${{ secrets.SALT }} ${{ secrets.CORS_URL_ONE_WITHOUT_PORT }} ${{ secrets.CORS_URL_TWO_WITHOUT_PORT }} ${{ secrets.CORS_URL_THREE_WITHOUT_PORT }} ${{ secrets.CORS_URL_FOUR_WITHOUT_PORT }} ${{ secrets.FROTN_REDIRECT_URL_WITHOUT_PORT }} ${{ secrets.SERVER_URL_WITH_PORT }} ${{ secrets.JWT_ACCESS_EXPIRED_IN }} ${{ secrets.JWT_REFRESH_EXPIRED_IN }} ${{ secrets.JWT_VERIFY_EXPIRED_IN }} ${{ secrets.JWT_RESET_EXPIRED_IN }} ${{ secrets.JWT_HASH_ALGOIRHTM }} ${{ secrets.HASH_PASSPHRASE }} ${{ secrets.MYSQL_HOST }} ${{ secrets.MYSQL_USER }} ${{ secrets.MYSQL_DATABASE }} ${{ secrets.MYSQL_PASSWORD }} ${{ secrets.MYSQL_CONNECTION_LIMIT }} ${{ secrets.S3_ACCESS_KEY }} ${{ secrets.S3_SECRET_KEY }} ${{ secrets.BUCKET }} ${{ secrets.REGION }} ${{ secrets.SES_API_VERSION }} ${{ secrets.SES_API_REGION }} ${{ secrets.SES_ACCESS_KEY }} ${{ secrets.SES_SECRET_KEY }} ${{ secrets.SES_SENDER_EMAIL }} ${{ secrets.MYSQL_HOST }}

- name: Zip file
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/auto.jest.runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Automated-Jest

on:
pull_request:
branches:
- 'develop'
branches: [ 'develop', 'main' ]

jobs:
jest_runner:
Expand Down
7 changes: 0 additions & 7 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ export default class App {
}
}
});
this.app.all("*", (req, res) => {
return res.json({
url: req.url,
baseUrl: req.baseUrl,
port: PORT,
});
});

process.on("SIGINT", () => {
console.log("SIGINT signal");
Expand Down
1 change: 0 additions & 1 deletion test.sh

This file was deleted.

Empty file removed test.txt
Empty file.

0 comments on commit 61538b8

Please sign in to comment.