Content update
This commit is contained in:
parent
358854e6fa
commit
2c8890ee55
17 changed files with 146 additions and 15 deletions
12
build.sh
Executable file
12
build.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
# This script builds the documentation site using MkDocs and serves it to the Caddy web server.
|
||||
|
||||
# Build the documentation site
|
||||
rm -rf ./site
|
||||
mkdocs build --clean
|
||||
|
||||
# Clean up the web server directory
|
||||
ssh webmaster@10.10.10.102 'sudo rm -rf /usr/share/caddy/docs.bsct.me/*'
|
||||
|
||||
# Copy the built documentation to the web server
|
||||
scp -r ./site/* webmaster@10.10.10.102:/usr/share/caddy/docs.bsct.me
|
||||
Loading…
Add table
Add a link
Reference in a new issue