From f2ddfc690ab9f0b3c3c0ab053c0d6460aa3221e9 Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Sat, 8 Jun 2019 15:12:39 -0700 Subject: [PATCH] cleanup --- deploy.sh | 38 -------------------------------------- public | 1 - 2 files changed, 39 deletions(-) delete mode 100755 deploy.sh delete mode 160000 public diff --git a/deploy.sh b/deploy.sh deleted file mode 100755 index 72d4e81..0000000 --- a/deploy.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -echo -e "\033[0;32mDeploying updates to GitHub...\033[0m" - -# Build the project. -hugo # if using a theme, replace with `hugo -t ` - -# Go To Public folder -cd public -# Add changes to git. -git add . - -# Commit changes. -msg="rebuilding site `date`" -if [ $# -eq 1 ] - then msg="$1" -fi -git commit -m "$msg" - -# Push source and build repos. -git push origin master - -# Come Back up to the Project Root -cd .. - -# Commit submodule change. -git add public - -msg="updating submodule" -if [ $# -eq 1 ] - then msg="$1" -fi -git commit -m "$msg" - -# Push repo. -git push origin master - -echo -e "Done." diff --git a/public b/public deleted file mode 160000 index 4079ce2..0000000 --- a/public +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4079ce298e3653eb7799940ffc88c6f5d37d9b38