Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
wlstmd committed Aug 26, 2024
1 parent bfbac1c commit e91a7da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,12 @@ jobs:
app-name: cdc
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: ./backend # 배포할 디렉토리 설정
env:
DB_HOST: "jinseung-db.mysql.database.azure.com"
DB_PORT: "3306"
DB_USERNAME: "adminuser@jinseung-db"
DB_PASSWORD: "cloud24admin!!"
DB_DATABASE: "cdc"
JWT_SECRET: "Secret"
JWT_ACCESS_TOKEN_EXPIRATION: "2h"
JWT_REFRESH_TOKEN_EXPIRATION: "10d"
2 changes: 1 addition & 1 deletion infra/appservice.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ resource webApp 'Microsoft.Web/sites@2021-02-01' = {
}
{
name: 'DB_USERNAME'
value: 'adminuser'
value: 'adminuser@${appName}-db'
}
{
name: 'DB_PASSWORD'
Expand Down

0 comments on commit e91a7da

Please sign in to comment.