mirror of
https://github.com/Smaug123/static-site-pipeline
synced 2025-10-06 00:38:39 +00:00
Add flake check
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
find /work -type f -name 'Dockerfile' -print0 | xargs -0 -n1 hadolint
|
||||
find /work -type f -name 'Dockerfile' -print0 | xargs -0 -n1 hadolint
|
||||
|
@@ -3,5 +3,5 @@
|
||||
SOURCE_DIR=$(readlink -f "$1")
|
||||
OUTPUT_DIR=$(readlink -f "$2")
|
||||
|
||||
rm -rf "${OUTPUT_DIR:?}/*" && \
|
||||
hugo --minify --source "$SOURCE_DIR" --destination "$OUTPUT_DIR"
|
||||
rm -rf "${OUTPUT_DIR:?}/*" &&
|
||||
hugo --minify --source "$SOURCE_DIR" --destination "$OUTPUT_DIR"
|
||||
|
@@ -7,4 +7,4 @@ cp -Rf /git/. /output || exit 1
|
||||
|
||||
chmod -R a+rw /output || exit 1
|
||||
|
||||
touch /sentinels/load.txt
|
||||
touch /sentinels/load.txt
|
||||
|
Reference in New Issue
Block a user