diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 1b809124f..b99698370 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -49,7 +49,7 @@ jobs: command: yarn cy:run browser: chrome - - name: ✨ 생성된 비디오를 S3에서 저장 + - name: ✨ 테스트에 실패한 경우 생성된 비디오를 S3에서 저장 if: always() env: SOURCE_DIR: '/home/runner/work/2023-celuveat/2023-celuveat/frontend/cypress/videos' diff --git a/.github/workflows/frontend-prod-cd.yml b/.github/workflows/frontend-prod-cd.yml index f59e5d5a9..a32b6ba3f 100644 --- a/.github/workflows/frontend-prod-cd.yml +++ b/.github/workflows/frontend-prod-cd.yml @@ -33,7 +33,7 @@ jobs: BASE_URL: ${{secrets.PROD_BASE_URL}} GOOGLE_MAP_API_KEY: ${{secrets.GOOGLE_MAP_API_KEY}} SHARE_KAKAO_LINK_KEY: ${{secrets.SHARE_KAKAO_LINK_KEY}} - + - name: ✨ 의존성 설치 run: yarn install @@ -48,5 +48,5 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_S3_BUCKET_URI: ${{ secrets.AWS_S3_BUCKET_URI }} run: | - aws s3 rm $AWS_S3_BUCKET_URI --recursive --exclude 'images-data/*' --exclude 'review/*' --exclude "*.jpeg" --exclude "event/*" + aws s3 rm $AWS_S3_BUCKET_URI --recursive --exclude 'images-data/*' --exclude 'review/*' --exclude "*.jpeg" --exclude "event/*" --exclude "e2e/*" aws s3 sync $SOURCE_DIR $AWS_S3_BUCKET_URI