Skip to content

Commit

Permalink
Merge pull request #2 from marinesnow34/test
Browse files Browse the repository at this point in the history
Fix: s3 sync안되는 문제 해결
  • Loading branch information
marinesnow34 authored Oct 31, 2023
2 parents 36cc91f + 188ecec commit 667e5dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
AWS_DEFAULT_REGION: ap-northeast-2
BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }}
run: |
aws s3 sync build s3://$BUCKET_NAME/ --delete
aws s3 sync build s3://$BUCKET_NAME/ --delete \
--exact-timestamps
# - name: Cloufront cache invalidation
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.CF_ACCESS_KEY_ID }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
ENDPOINT_URL: ${{ secrets.CF_ENDPOINT_URL }}
run: |
aws s3 sync build s3://$BUCKET_NAME/build_ceo \
--endpoint-url $ENDPOINT_URL --delete
--endpoint-url $ENDPOINT_URL --delete \
--exact-timestamps
- name: SSH and deploy
uses: appleboy/[email protected]
Expand All @@ -65,7 +66,8 @@ jobs:
timeout: 40s # 30초 기본
script: |
aws s3 sync s3://readyvery-dev-server/build_ceo ./docker/react/build_boss \
--endpoint-url https://29c6e4b55b1ddb8d2b6e69df21141caa.r2.cloudflarestorage.com --delete
--endpoint-url https://29c6e4b55b1ddb8d2b6e69df21141caa.r2.cloudflarestorage.com --delete \
--exact-timestamps
- name: Discordbot alert # 디스코드 알림
uses: sarisia/[email protected]
with:
Expand Down

0 comments on commit 667e5dd

Please sign in to comment.