wyattjmiller.com/build-prod.sh

20 lines
369 B
Bash
Raw Normal View History

2019-01-11 17:33:02 -06:00
# Script written by Wyatt J. Miller
# Licensed by the MIT
# Very generic build script for my website
# Used in production ONLY!
#
# Must be used in the site's root directory
cd ..
docker-compose down
docker image rm -f wyattjmiller.com
cd mywebsite
git pull
cd src/blog
2019-01-11 22:41:51 -06:00
bundle update
2019-01-11 17:33:02 -06:00
jekyll build
cd ../..
docker build -t wyattjmiller.com .
cd ..
docker-compose up -d