Skip to content
Snippets Groups Projects
Commit 141b5abf authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Remove deploy.sh

Closes #1
parent 85f5d9a8
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
echo -e "\033[0;32mDeploying updates to Github...\033[0m"
# Build the project.
hugo
# Add changes to git.
git add -A
# 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
git subtree push --prefix=public git@github.com:spencerlyon2/hugo_gh_blog.git gh-pages
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment