Skip to content

Commit

Permalink
Merge pull request #231 from ShallWeProject/develop
Browse files Browse the repository at this point in the history
chore: deploy script 수정
  • Loading branch information
sejineer authored Jan 21, 2024
2 parents 769f24e + e36b343 commit 63cf3e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
mkdir -p ./src/main/resources
cd ./src/main/resources
touch ./application-dev.yml
touch ./application-prod.yml
echo "${{ secrets.PROPERTIES_DEV }}" > ./application-dev.yml
shell: bash

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prod-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
mkdir -p ./src/main/resources
cd ./src/main/resources
touch ./application-prod.yml
touch ./application-dev.yml
echo "${{ secrets.PROPERTIES_PROD }}" > ./application-prod.yml
shell: bash

Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/shallwe/ShallWeApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

@SpringBootApplication
@PropertySource(value = "classpath:application-dev.yml", factory = YamlPropertySourceFactory.class)
@PropertySource(value = "classpath:application-prod.yml", factory = YamlPropertySourceFactory.class)
public class ShallWeApplication {

public static void main(String[] args) {
Expand Down

0 comments on commit 63cf3e2

Please sign in to comment.