Skip to content

Commit

Permalink
chore: application.yml에 Jasypt 환경변수 경로 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogu1208 committed Sep 4, 2024
1 parent 4fa578c commit ad13cd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/dev-aws-CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,30 +113,24 @@ jobs:
name: Discord Notify
runs-on: ubuntu-latest
needs: [ build, deploy ] # build와 deploy 작업이 끝난 후 실행
if: always() # 항상 실행되도록 설정
env:
jasypt.encryptor.password: ${{ secrets.JASYPT_ENCRYPTOR_PASSWORD }} # 이름 변경
jasypt.encryptor.password: ${{ secrets.JASYPT_ENCRYPTOR_PASSWORD }}
steps:
- name: Send Discord Notification
uses: sarisia/actions-status-discord@v1
if: always() # 항상 실행되도록 설정
with:
webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
status: ${{ job.status }} # 현재 작업(job)의 상태 (성공, 실패 등)
title: "CI/CD Pipeline Status"
description: |
${{ github.event_name == 'push' && format(
${{ format(
'The CI/CD pipeline has completed.\n- **Build Job Status**: {0}\n- **Deploy Job Status**: {1}\n- **Branch**: {2}\n- **Commit**: {3}\n- **Author**: {4}',
needs.build.result,
needs.deploy.result,
github.ref,
github.sha,
github.actor
) || github.event_name == 'pull_request' && format(
'The Build job for pull request has completed.\n- **Build Job Status**: {0}\n- **Branch**: {1}\n- **Commit**: {2}\n- **Author**: {3}',
needs.build.result,
github.ref,
github.sha,
github.actor
) }}
url: "https://github.com/sarisia/actions-status-discord"
username: GitHub Actions Bot
1 change: 1 addition & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
jasypt:
encryptor:
bean: jasyptStringEncryptor
password: ${ JASYPT_ENCRYPTOR_PASSWORD}

spring:
profiles:
Expand Down

0 comments on commit ad13cd5

Please sign in to comment.