Skip to content

Commit

Permalink
Update ci-cd.yml
Browse files Browse the repository at this point in the history
ci-cd 구축 중
  • Loading branch information
kingjinyong authored Jan 15, 2025
1 parent a5b728a commit 1165739
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ jobs:
cat ./.env
ls ./
# .gitignore에 있는 properties파일 추가
- name: Add prod_properties
run: |
mkdir ./src/main/resources
touch ./src/main/resources/application.properties
touch ./src/main/resources/application-oauth.properties
touch ./src/main/resources/application-private.properties
echo "${{ secrets.PROPERTIES }}" > ./src/main/resources/application.properties
echo "${{ secrets.OAUTHPROPERTIES }}" > ./src/main/resources/application.properties
echo "${{ secrets.PRIVATEPROPERTIES }}" > ./src/main/resources/application.properties
# Transfer Docker Compose File to EC2
- name: Transfer Docker Compose to EC2
uses: appleboy/scp-action@v0.1.7
Expand Down

0 comments on commit 1165739

Please sign in to comment.