Skip to content

Commit

Permalink
Merge pull request #24 from CSID-DGU/feat/#11-cicd
Browse files Browse the repository at this point in the history
[CHORE] DOCKER-CD.yml
  • Loading branch information
bbabbi authored Oct 14, 2024
2 parents afa25d5 + 17e5b76 commit 289bee2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/DOCKER-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
ci:
runs-on: ubuntu-22.04
env:
working-directory: ./server # gradlew 파일이 위치한 디렉토리로 설정
working-directory: ./server # server 디렉토리로 설정

steps:
- name: 체크아웃
Expand All @@ -29,7 +29,7 @@ jobs:

- name: 빌드
run: |
chmod +x ./gradlew # ./gradlew로 경로 지정
chmod +x gradlew
./gradlew build -x test
working-directory: ${{ env.working-directory }} # server 디렉토리 내에서 빌드
shell: bash
Expand Down Expand Up @@ -62,4 +62,5 @@ jobs:
key: ${{ secrets.SERVER_KEY }}
script: |
cd ~
chmod +x ./deploy.sh # 실행 권한 부여
./deploy.sh

0 comments on commit 289bee2

Please sign in to comment.