Skip to content

Commit

Permalink
[Feat] sever switch #173 (#174)
Browse files Browse the repository at this point in the history
* fix: Swagger 애노테이션 의존성 문제 해결

* feat: switch server config
  • Loading branch information
zbqmgldjfh authored Apr 7, 2024
1 parent b05bd8e commit 9aa93e9
Show file tree
Hide file tree
Showing 6 changed files with 273 additions and 181 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prod-kr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Deploy to prod KR
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ develop ]
branches: [ main ]

env:
GPG_PASSPHRASE: ${{ secrets.KR_PROD_GPG_PASSPHRASE }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/prod.yml → .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# This is a basic workflow to help you get started with Actions

name: Deploy to prod
name: Deploy to develop

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
branches: [ develop ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
environment: ProdServer
environment: Test-Server

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -47,4 +47,4 @@ jobs:
# The appname to use for deploying/updating
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
env:
HD_DEPLOY_ENV: "prod"
HD_DEPLOY_ENV: "dev"
Loading

0 comments on commit 9aa93e9

Please sign in to comment.