mirror of
https://github.com/Smaug123/static-site-pipeline
synced 2025-10-04 16:08:38 +00:00
10 lines
219 B
Bash
Executable File
10 lines
219 B
Bash
Executable File
#!/bin/sh
|
|
|
|
OUTPUT="$(pwd)/public"
|
|
export OUTPUT
|
|
|
|
docker build docker/html -t build-html || exit 1
|
|
|
|
echo Validating HTML.
|
|
docker run --user "$(id -u):$(id -g)" -v "$OUTPUT:/public" build-html sh -c "/build.sh" || exit 1
|