-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
32 lines (26 loc) · 758 Bytes
/
justfile
File metadata and controls
32 lines (26 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
install:
cd docusaurus && npm install
build:
just install
cd docusaurus && npm run build
rm -rf docs
cp -r docusaurus/build docs
cp odra.dev.index.html docs/index.html
cp *.ttf docs
cp CNAME docs
serve:
python3 -m http.server
develop:
cd docusaurus && npm run start
docs-new-version version:
cd docusaurus && npm run docusaurus docs:version {{version}}
ci-build-and-commit:
just build
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add docs/
git commit -m "Automatic site build"
git config --global --add safe.directory /github/workspace
build-and-serve-locally:
cd docusaurus && npm run build
cd docusaurus && npm run serve