Skip to content

Commit

Permalink
fix: db port in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
svifty7 committed Nov 14, 2024
1 parent fe59f42 commit c0a837a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
name: Update Server
needs: [env, build]
runs-on: ubuntu-latest
env:
DB_PORT: ${{github.ref_name == 'dev' && '33066' || '3306'}}
steps:
- uses: appleboy/ssh-action@master
with:
Expand All @@ -80,6 +82,7 @@ jobs:
-d \
-e spring.profiles.active=${{env.ENVIRONMENT_NAME}} \
-e dbhost=${{secrets.DOCKER_MYSQL_HOST}} \
-e dbport=${{secrets.DB_PORT}} \
-e dbuser=${{secrets.DOCKER_MYSQL_USER}} \
-e dbpassword=${{secrets.DOCKER_MYSQL_PASSWORD}} \
-e emailpassword=${{secrets.EMAIL_PASSWORD}} \
Expand Down

0 comments on commit c0a837a

Please sign in to comment.