Skip to content

Commit

Permalink
chore: 압축 커맨드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
bbearcookie committed Oct 27, 2024
1 parent b663614 commit f1fd49f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
aws-region: 'ap-northeast-2'

- name: 빌드 내용 및 배포 파일 압축
run: tar cvfz ./$GITHUB_SHA.gz -x node_modules .env src README.md .git .gitignore
run: tar cvfz ./$GITHUB_SHA.gz --exclude={node_modules,.env,src,README.md,.git,.gitignore} .

- name: 압축 파일 S3 업로드
run: aws s3 cp --region ap-northeast-2 ./$GITHUB_SHA.gz s3://${{secrets.AWS_BACKEND_S3_BUCKET}}/deployment/$GITHUB_SHA.gz
Expand Down

0 comments on commit f1fd49f

Please sign in to comment.