Skip to content

Commit

Permalink
chore: CD 워크 플로우 .env 파일 생성 플로우 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
whereami2048 committed May 1, 2024
1 parent 3bab5ca commit c0c1879
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CD-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
script: |
rm -rf ./.env
touch ./.env
# echo "DOCKER_USERNAME=${{ secrets.DOCKER_USERNAME }}" >> ./.env
# echo "DOCKER_REPOSITORY=${{ secrets.DOCKER_REPOSITORY }}" >> ./.env
# echo "DB_URL=${{ secrets.DEV_DB_URL }}" >> ./.env
# echo "DB_USERNAME=${{ secrets.DEV_DB_USERNAME }}" >> ./.env
# echo "DB_PASSWORD=${{ secrets.DEV_DB_PASSWORD }}" >> ./.env
echo "DOCKER_USERNAME=${{ secrets.DOCKER_USERNAME }}" >> ./.env
echo "DOCKER_REPOSITORY=${{ secrets.DOCKER_REPOSITORY }}" >> ./.env
echo "DB_URL=${{ secrets.DEV_DB_URL }}" >> ./.env
echo "DB_USERNAME=${{ secrets.DEV_DB_USERNAME }}" >> ./.env
echo "DB_PASSWORD=${{ secrets.DEV_DB_PASSWORD }}" >> ./.env
# echo "JWT_SECRET=${{ secrets.JWT_SECRET }}" >> ./.env
# echo "KAKAO_APP_ID=${{ secrets.KAKAO_APP_ID }}" >> ./.env
# echo "APPLE_APP_ID=${{ secrets.APPLE_APP_ID }}" >> ./.env
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ out/

### Kotlin ###
.kotlin

### .env ###
.env

### .DS_Store ###
.DS_Store/
1 change: 1 addition & 0 deletions Api-Module/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spring:
properties:
hibernate.format_sql: true
dialect: org.hibernate.dialect.MySQLDialect
open-in-view: false

security:
oauth2:
Expand Down

0 comments on commit c0c1879

Please sign in to comment.