-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## ☀️ 작업 사항 - ci_dev.yml 설정 - asciidoctor plugin이 deprecated되어 gradle 8.0 이상에서 빌드 안되는 에러 해결 ## ☀️ 참고 사항 spring rest docs를 현재 사용중이지 않고 build 시 directory가 없어 에러가 발생하는데, 해결하는데 시간이 걸릴 것 같아 주석처리하였습니다. 주요 기능 개발이 끝난 후에 다시 개발하겠습니다.
- Loading branch information
Showing
4 changed files
with
353 additions
and
614 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: TogetUp-Server-Dev CI | ||
|
||
on: | ||
pull_request: | ||
branches: [ "main" ] | ||
push: | ||
branches: [ "main", "env/CICD" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
|
||
- name: make application.properties | ||
run: | | ||
## create application.yml | ||
mkdir -p ./src/main/resources | ||
cd ./src/main/resources | ||
touch ./application.yaml | ||
echo "${{ secrets.TOGETUP_PROD_APPLICATION }}" >> ./application.yaml | ||
cat ./application.yaml | ||
shell: bash | ||
|
||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew build -x test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.