Compare commits
2 commits
2dcff41982
...
4295b9448b
| Author | SHA1 | Date | |
|---|---|---|---|
| 4295b9448b | |||
| 08a216b90f |
3 changed files with 13 additions and 7 deletions
10
build.sh
10
build.sh
|
|
@ -2,11 +2,17 @@
|
||||||
# This script builds the documentation site using MkDocs and serves it to the Caddy web server.
|
# This script builds the documentation site using MkDocs and serves it to the Caddy web server.
|
||||||
|
|
||||||
# Build the documentation site
|
# Build the documentation site
|
||||||
|
echo "Building documentation site..."
|
||||||
rm -rf ./site
|
rm -rf ./site
|
||||||
mkdocs build --clean
|
mkdocs build --clean
|
||||||
|
|
||||||
|
# Collect ssh password
|
||||||
|
echo "Enter SSH password for cory@10.10.10.40:"
|
||||||
|
read -s SSH_PASSWORD
|
||||||
|
echo "Thank you! Your password has been securely collected."
|
||||||
|
|
||||||
# Clean up the web server directory
|
# Clean up the web server directory
|
||||||
ssh webmaster@10.10.10.40 'sudo rm -rf /usr/share/caddy/docs.bsct.me/*'
|
sshpass -p "$SSH_PASSWORD" ssh cory@10.10.10.40 'sudo rm -rf /var/caddy/docs.bsct.io/www/*'
|
||||||
|
|
||||||
# Copy the built documentation to the web server
|
# Copy the built documentation to the web server
|
||||||
scp -r ./site/* webmaster@10.10.10.40:/usr/share/caddy/docs.bsct.me
|
sshpass -p "$SSH_PASSWORD" scp -r ./site/* cory@10.10.10.40:/var/caddy/docs.bsct.io/www/
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ If there's a movie or TV show you'd like to watch that isn't currently available
|
||||||
|
|
||||||
### Making a Request
|
### Making a Request
|
||||||
|
|
||||||
1. Visit the request portal at [https://req.bsct.me](https://req.bsct.me)
|
1. Visit the request portal at [https://req.bsct.io](https://req.bsct.io)
|
||||||
2. Log in using your Plex credentials
|
2. Log in using your Plex credentials
|
||||||
3. Search for the movie or TV show you want to request
|
3. Search for the movie or TV show you want to request
|
||||||
4. Click the "Request" button next to the title
|
4. Click the "Request" button next to the title
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
|
|
||||||
# Project information
|
# Project information
|
||||||
site_name: bsct.me docs
|
site_name: bsct.io docs
|
||||||
site_url: https://docs.bsct.me/
|
site_url: https://docs.bsct.io/
|
||||||
site_description: Technical documentation maintained by corybiscuit
|
site_description: Technical documentation maintained by corybiscuit
|
||||||
site_author: corybiscuit
|
site_author: corybiscuit
|
||||||
|
|
||||||
|
|
@ -11,8 +11,8 @@ site_author: corybiscuit
|
||||||
copyright: Copyright © 2025 corybiscuit
|
copyright: Copyright © 2025 corybiscuit
|
||||||
|
|
||||||
# Repository information
|
# Repository information
|
||||||
repo_url: https://git.bsct.me/corybiscuit/docs.bsct.me
|
repo_url: https://git.bsct.io/corybiscuit/docs.bsct.io
|
||||||
repo_name: corybiscuit/docs.bsct.me
|
repo_name: corybiscuit/docs.bsct.io
|
||||||
|
|
||||||
# Theme configuration
|
# Theme configuration
|
||||||
theme:
|
theme:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue