Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1 #51

Merged
merged 16 commits into from
Nov 22, 2023
10 changes: 1 addition & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ jobs:
touch ./application-db.yml
echo "${{ secrets.YML_DB }}" > ./application-db.yml
shell: bash

# 환경별 yml 파일 생성(3)
- name: make application.yml
run: |
cd ./src/main/resources
touch ./application.yml
echo "${{ secrets.YML }}" > ./application.yml
shell: bash

# 4) gradle 빌드
- name: Build with Gradle
Expand All @@ -85,7 +77,7 @@ jobs:

# AWS S3에 업로드
- name: Upload to AWS S3
run: aws s3 cp --region $AWS_REGION ./$GITHUB_SHA.zip s3://${{ secrets.S3_BUCKET_NAME }}/deploy/$GITHUB_SHA.zip --source .
run: aws s3 cp --region $AWS_REGION ./$GITHUB_SHA.zip s3://$S3_BUCKET_NAME/deploy/$GITHUB_SHA.zip --source .

# AWS EC2에 Deploy
- name: Deploy to AWS EC2 from S3
Expand Down
Loading