Skip to content

Commit

Permalink
Merge pull request #11 from Gongjakso/chore/cicd
Browse files Browse the repository at this point in the history
chore: AWS 배포 파이프라인 설정
  • Loading branch information
dl-00-e8 authored Jan 21, 2024
2 parents a659ebb + 1482809 commit e3a12e1
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/release-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,14 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

# secret.yml 반영
- name: Make application-secret.yml
# application.yml 반영
- name: Make application.yml
run: |
cd ./src/main/resources
touch ./application.yml
echo "${{ secrets.APPLICATION_SECRET}}" > ./application.yml
shell: bash

# release.yml 반영
- name: Make application-release.yml
run: |
cd ./src/main
mkdir resources
cd ./resources
touch touch ./application.yml
echo "${{ secrets.GCP_APPLICATION_RELEASE}}" > ./application.yml
shell: bash

# Gradle BootJar
- name: BootJar with Gradle
run: ./gradlew clean bootJar -Dspring.profiles.active=release
Expand Down

0 comments on commit e3a12e1

Please sign in to comment.