diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5aa45329..9f0983ca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 }}