Skip to content

Commit

Permalink
[BYOB-129] CI/CD workflow 내 환경변수 설정 방식 변경 완료 (#25)
Browse files Browse the repository at this point in the history
* feat: 테스트용 workflow 추가

* fix: 테스트용 workflow 수정

* fix: 디버깅용 스텝 추가

* fix: 디버깅용 스텝 수정

* fix: 디버깅 스텝 수정 2

* fix: 디버깅 스텝 수정 3

* fix: 디버깅 스텝 수정 4

* fix: 디버깅 스텝 수정 5

* fix: 테스트 workflow 삭제 및 dev workflow 수정

* feat: 찐막 테스트 workflow 생성

* feat: 찐찐막 테스트 workflow

* feat: CI/CD workflow 환경변수 설정 방식 변경 완료
  • Loading branch information
y-ngm-n authored Jul 27, 2024
1 parent 5174610 commit 7b8a93f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/backend_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,18 @@ jobs:
secret-ids: |
,dev/jumo/server
# comma 오타 아님
parse-json-secrets: true

- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0

- name: Grant execute permission for gradlew
run: chmod +x gradlew

# - name: Set application properties from GitHub Secrets
# run: |
# echo '${{ secrets.APP_CONFIG_JSON }}' > config.json
# mkdir -p src/main/resources
# jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' config.json > src/main/resources/application.properties

- name: Build with Gradle Wrapper
run: ./gradlew build
env:
SPRING_PROFILES_ACTIVE: dev

- name: Login to Amazon ECR
uses: aws-actions/amazon-ecr-login@v1
Expand Down

0 comments on commit 7b8a93f

Please sign in to comment.