Skip to content

Commit d9f9bd3

Browse files
committed
update git workflow action for main
1 parent 3c54b0f commit d9f9bd3

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/deploy-docs.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy MkDocs Site to S3
33
on:
44
push:
55
branches:
6-
- ci/add_gitworkflow # Change this to your deployment branch
6+
- main # Change this to your deployment branch
77

88
jobs:
99
deploy:
@@ -47,10 +47,8 @@ jobs:
4747
4848
- name: Deploy to S3
4949
run: |
50-
aws s3 sync ./site s3://o2-github-action-s3/docs --exclude=".git/*"
50+
aws s3 sync ./site s3://openobserve-staging-website/docs --exclude=".git/*"
5151
52-
# - name: Invalidate CloudFront cache
53-
# run: |
54-
# aws cloudfront create-invalidation \
55-
# --distribution-id EZ2SEJVXM7NXL \
56-
# --paths "/docs/*"
52+
- name: Invalidate CloudFront cache
53+
run: |
54+
aws cloudfront create-invalidation --distribution-id EZ2SEJVXM7NXL --paths "/docs/*"

0 commit comments

Comments
 (0)