Skip to content

Commit

Permalink
Feature/#162 백엔드 빌드액션에 redis 추가 (#163)
Browse files Browse the repository at this point in the history
* feat: node_modules 폴더를 gitignore에 추가

#162

* feat: redis 설치

#162

* feat: redis 연결 파일 추가

#162

* feat: backend build action에 redis 추가

#162

* feat: redis 삭제

#162

* feat: submodule 추가

#162
  • Loading branch information
llddang authored Aug 22, 2024
1 parent 082bac3 commit 237a6e2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/back-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Checkout submodules
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.ACTION_TOKEN }}

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand All @@ -32,13 +39,6 @@ jobs:
container port: 3306
mysql database: "sw_css"
mysql root password: ${{ secrets.DB_PASSWORD }}

- name: Connect to Redis
run: node client.js
env:
REDIS_HOST: ${{ secrets.REDIS_HOST }}
REDIS_PORT: ${{ secrets.REDIS_PORT }}
REDIS_PASS: ${{ secrets.REDIS_PASSWORD }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/.idea/
.iml
.iml

**/node_modules
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "config"]
path = backend/src/main/resources/config
url = https://github.com/SW-CSS/config.git
branch = main
1 change: 1 addition & 0 deletions backend/src/main/resources/config
Submodule config added at ab6f40

0 comments on commit 237a6e2

Please sign in to comment.