Skip to content

Commit

Permalink
수정
Browse files Browse the repository at this point in the history
  • Loading branch information
YoujeongChoi committed Mar 19, 2024
1 parent dbe091b commit 14f8685
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ jobs:
echo "DB_USERNAME=${{ secrets.DB_USERNAME }}" >> $GITHUB_ENV
echo "DB_PASSWORD=${{ secrets.DB_PASSWORD }}" >> $GITHUB_ENV
echo "DB_DATABASE=${{ secrets.DB_DATABASE }}" >> $GITHUB_ENV
- name: Check current directory
run: pwd

- name: List files
run: ls -la

- name: Build and zip the project
run: |
# 여기에 프로젝트 빌드 명령어 추가
zip -r ./$GITHUB_SHA.zip . # 이 부분이 파일을 압축하는 명령어입니다
- name: Upload to S3
run: aws s3 cp ./$GITHUB_SHA.zip s3://${{ secrets.S3_BUCKET_NAME }}/$GITHUB_SHA.zip --region ${{ secrets.AWS_BUCKET_REGION }}
Expand Down

0 comments on commit 14f8685

Please sign in to comment.