mirror of
https://github.com/sern-handler/automata
synced 2026-06-19 14:22:20 +00:00
* refactor: initial monorepo * chore: remove accidentally commited repos * chore: remove accidentally commited repos * feat: more progress * feat: finally monorepo done * feat: move away from pocketbase * fix: seren's reviews and schema frontend login errors * fix: for some reason didn't remove await lol
23 lines
696 B
Bash
23 lines
696 B
Bash
#!/bin/bash
|
|
|
|
cd repos/sern-community
|
|
git checkout main
|
|
git pull
|
|
|
|
cd ..
|
|
cd website
|
|
mv ./docusaurus.config.js ./original.docusaurus.config.js
|
|
mv ./docgen.docusaurus.config.js ./docusaurus.config.js
|
|
npm run build
|
|
mv docusaurus.config.js docgen.docusaurus.config.js
|
|
mv original.docusaurus.config.js docusaurus.config.js
|
|
npm run typedoc-json
|
|
git add .
|
|
git -c user.name="sern bot" -c user.email="$2" commit -m "chore: update api documentation"
|
|
git push --force https://sernbot:$1@github.com/sern-handler/website.git
|
|
cd ..
|
|
cd sern-community
|
|
git add .
|
|
git -c user.name="sern bot" -c user.email="$2" commit -m "chore: update typedoc"
|
|
git push https://sernbot:$1@github.com/sern-handler/sern-community.git
|