Skip to content

Commit

Permalink
[Setting] Github Action 스크립트에 환경 추가 (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbqmgldjfh committed Jan 23, 2024
1 parent 312cbbb commit c2b35e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment: TestServer

steps:
# (1) 기본 체크아웃
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
environment: ProdServer

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -46,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: "prod"

0 comments on commit c2b35e9

Please sign in to comment.