Skip to content

Commit d4c5a40

Browse files
authored
Merge pull request #221 from openobserve/fix/s3-sync
Update deploy-docs-staging.yaml
2 parents 870d0f3 + e1ada76 commit d4c5a40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-docs-staging.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
5050
- name: Deploy to S3
5151
run: |
52-
aws s3 sync ./site s3://openobserve-website-staging/docs --exclude=".git/*"
52+
aws s3 sync ./site s3://openobserve-website-staging/docs --exclude=".git/*" --delete
5353
5454
- name: Invalidate CloudFront cache
5555
run: |
56-
aws cloudfront create-invalidation --distribution-id E2GZJM0TJIDFRM --paths "/docs/*"
56+
aws cloudfront create-invalidation --distribution-id E2GZJM0TJIDFRM --paths "/docs/*"

0 commit comments

Comments
 (0)