Skip to content

Commit

Permalink
Update CD-dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jms0324 authored Aug 4, 2024
1 parent fcd6688 commit 798ee52
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/CD-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ jobs:
distribution: 'corretto'

- name: Build with Gradle
run: ./gradlew build -Dspring.profiles.active=dev
env:
MYSQL_DATABASE_URL: ${{ secrets.MYSQL_DATABASE_URL }}
MYSQL_DATABASE_USERNAME: ${{ secrets.MYSQL_DATABASE_USERNAME }}
MYSQL_DATABASE_PASSWORD: ${{ secrets.MYSQL_DATABASE_PASSWORD }}
MYSQL_DATABASE_LOCAL_URL: ${{ secrets.MYSQL_DATABASE_LOCAL_URL }}
PROFILE: ${{ secrets.PROFILE }} # 활성화할 프로파일
run: ./gradlew build -Dspring.profiles.active=${{ secrets.PROFILE }}

- name: Copy files to server
uses: appleboy/[email protected]
Expand Down

0 comments on commit 798ee52

Please sign in to comment.