Skip to content

Commit

Permalink
chore: dev-aws-CI-CD.yml에 environment: dev 환경을 명시적으로 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogu1208 committed Sep 4, 2024
1 parent b8a5087 commit d2dfd4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/dev-aws-CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
environment: dev # 환경을 명시적으로 설정
if: github.event_name == 'push' || github.event_name == 'pull_request'
env:
jasypt.encryptor.password: ${{ secrets.JASYPT_ENCRYPTOR_PASSWORD }} # 이름 변경
Expand Down Expand Up @@ -60,6 +61,7 @@ jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment: dev # 환경을 명시적으로 설정
if: github.event_name == 'push' # push일 때만 실행
needs: build # build 작업이 끝난 후 실행
env:
Expand Down Expand Up @@ -112,6 +114,7 @@ jobs:
discord-notify:
name: Discord Notify
runs-on: ubuntu-latest
environment: dev
needs: [ build, deploy ] # build와 deploy 작업이 끝난 후 실행
if: always() # 항상 실행되도록 설정
env:
Expand Down

0 comments on commit d2dfd4e

Please sign in to comment.