joinlemmy-site/build.sh

15 lines
258 B
Bash
Raw Permalink Normal View History

2020-09-28 18:59:32 +00:00
#!/bin/bash
# Build the mdbook docs
./build_docs.sh
# Build the API docs
yarn --ignore-engines && yarn build
2020-09-28 18:59:32 +00:00
zola build
2020-09-28 18:59:32 +00:00
sudo mkdir -p /var/www/joinlemmy
2020-09-28 19:24:36 +00:00
sudo rm -rf /var/www/joinlemmy/public
2020-09-28 18:59:32 +00:00
sudo mv public /var/www/joinlemmy/
sudo systemctl reload nginx