Skip to content

Commit

Permalink
[fix] application_secret_dev 가져오기
Browse files Browse the repository at this point in the history
  • Loading branch information
mushroom1324 committed Dec 18, 2023
1 parent faeff14 commit 0da9bb0
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
# 기본 체크아웃
- name: Checkout
uses: actions/checkout@v3
run: |
touch ./src/main/resources/application-secret.yml
echo "${{ secrets.APPLICATION_SECRET_DEV }}" > ./src/main/resources/application-secret.yml
# JDK version 설정
- name: Set up JDK 17
Expand All @@ -33,13 +36,6 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Make application-secret.yml without env
run: |
touch ./src/main/resources/application-secret.yml
echo "${{ secrets.APPLICATION_SECRET_DEV }}" > ./src/main/resources/application-secret.yml
env:
PROPERTIES_DEV: ${{ secrets.APPLICATION_SECRET_DEV }}

- name: Docker app build & push
uses: docker/build-push-action@v2
with:
Expand Down Expand Up @@ -70,7 +66,6 @@ jobs:
sudo touch .env
echo "${{ secrets.ENV_DEV }}" | sudo tee .env > /dev/null
echo "${{ secrets.APPLICATION_SECRET_DEV }}" | sudo tee test > /dev/null
sudo curl -o docker-compose.dev.yml https://raw.githubusercontent.com/CEOS-Developers/CEOS-BE/refact/os-migration/docker-compose.dev.yml
Expand Down

0 comments on commit 0da9bb0

Please sign in to comment.