mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 18:50:29 -04:00
10 lines
290 B
Bash
Executable File
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
|