Skip to content

Commit

Permalink
set env for deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
junseublim committed Aug 5, 2024
1 parent 9093112 commit 381f122
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
deploy:
needs: build
runs-on: ${{ github.event_name == 'release' && 'prod' || 'dev' }}
environment:
name: ${{ github.event_name == 'release' && 'production' || 'development' }}

steps:
- name: Pull from DockerHub
Expand Down

0 comments on commit 381f122

Please sign in to comment.