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

10 lines
292 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