Compare commits

..

No commits in common. "56b06a6a6dd95132e72d890a2e535bc3a0864d86" and "e00bf77141ece5b8c862ec5f4511e067358bd170" have entirely different histories.

3 changed files with 0 additions and 40 deletions

View file

@ -1,16 +0,0 @@
#!/bin/sh
set -e;
# Clean up last build
rm -r public/;
# Build the website
hugo;
# Show the public tree
echo "Build success!";
tree public/

View file

@ -1,4 +1,3 @@
baseURL = 'https://blog.kemonomimi.gay/'
languageCode = 'en-us'
title = 'blog.kemonomimi.gay'
disableKinds = ['taxonomy', 'term']

View file

@ -1,23 +0,0 @@
#!/bin/bash
# A script for deploying the website
# Made by sugary :3
# Adapted by yukijoou
set -e
WEBSITE_NAME='blog.kemonomimi.gay'
WEBSITES_PATH='/var/www/blog'
[ -w $WEBSITES_PATH ] || (echo 'Don`t have write permission on website root, did you forget sudo?' && exit 1);
BACKUP_DIR=$(mktemp -d)
cp -rf "$WEBSITES_PATH" $BACKUP_DIR/$WEBSITE_NAME.bak
echo "Made backup at $BACKUP_DIR"
rm -rf "$WEBSITES_PATH"
mkdir -p "$WEBSITES_PATH"
cp -rf public/* "$WEBSITES_PATH"
echo "Installed $WEBSITE_NAME at $WEBSITES_PATH"