1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-30 03:45:57 -04:00
Files
jarv.is/scripts/docker-build.sh
T
2019-11-11 10:49:11 -05:00

10 lines
290 B
Bash
Executable File

#!/bin/bash
# Make sure you run this script from the root of the site repository.
echo "Pull latest Docker image..."
docker pull jakejarvis/hugo-custom:latest
echo "Building Hugo from image..."
docker run -v $(pwd):/src jakejarvis/hugo-custom:latest --gc --cleanDestinationDir --verbose