fix(website): changelog plugin leads to CI bugs on release (#6838)

This commit is contained in:
Sébastien Lorber 2022-03-04 10:58:54 +01:00 committed by GitHub
parent 52fa4514f7
commit 3e38380b69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -27,6 +27,7 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
build-script: build:website:en
clean-script: clear:website # see https://github.com/facebook/docusaurus/pull/6838
pattern: '{website/build/assets/js/main*js,website/build/assets/css/styles*css,website/.docusaurus/globalData.json,website/build/index.html,website/build/blog/index.html,website/build/blog/**/introducing-docusaurus/*,website/build/docs/index.html,website/build/docs/installation/index.html,website/build/tests/docs/index.html,website/build/tests/docs/standalone/index.html}'
strip-hash: '\.([^;]\w{7})\.'
minimum-change-threshold: 30

View File

@ -8,7 +8,7 @@
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"clear": "docusaurus clear && rimraf changelog",
"serve": "docusaurus serve",
"test:css-order": "node testCSSOrder.mjs",
"test:swizzle:eject:js": "cross-env SWIZZLE_ACTION='eject' SWIZZLE_TYPESCRIPT='false' node _dogfooding/testSwizzleThemeClassic.mjs",
@ -80,6 +80,7 @@
"devDependencies": {
"@tsconfig/docusaurus": "^1.0.4",
"@types/jest": "^27.4.1",
"cross-env": "^7.0.3"
"cross-env": "^7.0.3",
"rimraf": "^3.0.2"
}
}