Skip to content

Commit

Permalink
fix: move yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Seokyeong237 committed Jan 20, 2024
1 parent 081fecc commit 16ba7f7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ jobs:

# 환경 변수 설정
- name: Set up Environment
working-directory: ./
run: |
mkdir ./src/main/resources
touch ./src/main/resources/application.yml
echo "${{ secrets.APPLICATION_YML }}" > ./application.yml
pwd
touch .env
echo "${{ secrets.APPLICATION_YML }}" >> .env
cat .env
# 빌드 권한 부여
- name: Grant execute permission for gradlew
Expand Down Expand Up @@ -68,7 +70,7 @@ jobs:
# zip 파일로 압축
- name: zip file
run: zip -r fullcar.zip ./scripts ./appspec.yml ./src/main/resources/application.yml ./build/libs/*.jar
run: zip -r fullcar.zip ./scripts ./appspec.yml ./.env ./build/libs/*.jar

# S3에 업로드
- name: Upload to s3
Expand Down

0 comments on commit 16ba7f7

Please sign in to comment.