Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Mar 30, 2022
1 parent 8b578e5 commit 58942f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
#

jekyll/* @wechaty/editors
docusaurus/* @wechaty/writers
11 changes: 0 additions & 11 deletions scripts/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

set -eo pipefail

function buildDocusarus () {
pushd docusaurus
rm -fr build
npx docusaurus build
mv build/sitemap.xml build/sitemap-docusaurus.xml
popd
}

function buildJekyll () {
pushd jekyll
make build
Expand All @@ -35,12 +27,9 @@ elif [ ! -d "$target" ]; then
exit 1
fi

buildDocusarus
buildJekyll

cp -Rav docusaurus/build/* "$target"
cp -Rav jekyll/_site/* "$target"
cp -v config/sitemap.xml "$target"
rm -f "$target"/README.md
touch "$target"/.nojekyll
buildManifest "$target"/manifest.json

0 comments on commit 58942f7

Please sign in to comment.