Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
test upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-TinnNguyen committed Apr 16, 2024
1 parent 54d4038 commit ec404e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: klaytn-docs-docusaurus prod deploy workflow
on:
push:
branches:
- main
- update_docusaurus_package

jobs:
deploy:
Expand Down Expand Up @@ -45,10 +45,10 @@ jobs:
- name: Build static files
run: yarn build

- name: Sync to S3 bucket and validation cloudfront
env:
S3_BUCKET_PROD: ${{ secrets.S3_BUCKET_PROD }}
CLOUDFRONT_ID_PROD: ${{ secrets.CLOUDFRONT_ID_PROD }}
run: |
aws s3 sync ./build/ $S3_BUCKET_PROD --delete
aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_ID_PROD --paths "/*"
# - name: Sync to S3 bucket and validation cloudfront
# env:
# S3_BUCKET_PROD: ${{ secrets.S3_BUCKET_PROD }}
# CLOUDFRONT_ID_PROD: ${{ secrets.CLOUDFRONT_ID_PROD }}
# run: |
# aws s3 sync ./build/ $S3_BUCKET_PROD --delete
# aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_ID_PROD --paths "/*"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"18": "0.0.0",
"@code-hike/mdx": "0.9.0",
"@crowdin/cli": "^3.16.0",
"@docusaurus/core": "3.1.1",
"@docusaurus/preset-classic": "3.1.1",
"@docusaurus/core": "3.2.1",
"@docusaurus/preset-classic": "3.2.1",
"clsx": "^1.2.1",
"docusaurus-plugin-openapi-docs": "3.0.0-beta.4",
"docusaurus-theme-openapi-docs": "^3.0.0-beta.4",
Expand Down

0 comments on commit ec404e9

Please sign in to comment.