Skip to content

Commit

Permalink
[fix] submodule yml 복사 과정 수정 (#8)
Browse files Browse the repository at this point in the history
* [fix] #7 make copyYml run always

* [fix] #7 remove unnecessary step in dev-cd

* [fix] #7 update yml
  • Loading branch information
tkdwns414 authored Jul 5, 2024
1 parent 11981e6 commit b9e5fe8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ jobs:
distribution: 'corretto'
java-version: '17'

- name: Copy yml files
run: ./gradlew copyYml
shell: bash

- name: build
run: |
chmod +x gradlew
Expand Down
2 changes: 1 addition & 1 deletion SERVER_YML
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ tasks.named('test') {
useJUnitPlatform()
}

tasks.register('copyYml', Copy) {
from './SERVER_YML'
include '*'
into 'src/main/resources'
task copyYml(type: Copy) {
copy {
from './SERVER_YML'
include "*.yml"
into './src/main/resources'
}
}

0 comments on commit b9e5fe8

Please sign in to comment.