Initial cut
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# vim: ft=bash:
|
||||
#
|
||||
file_date="$(date "+%y%m%d%H%M")"
|
||||
docker run --rm -v "${PWD}/mondarth-com:/src" -v "${HOME}/hugo_cache:/tmp/hugo_cache" hugomods/hugo:exts hugo --theme mondarth --minify
|
||||
tar czvf "mondarth${file_date}.tar.gz" -C mondarth-com/public .
|
||||
scp "mondarth${file_date}.tar.gz" mbools@192.168.1.251:/home/mbools
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# vim: ft=bash:
|
||||
|
||||
cd mondarth-com
|
||||
docker run --rm -p 1313:1313 -v ${PWD}:/src -v ${HOME}/hugo_cache:/tmp/hugo_cache hugomods/hugo:exts hugo server --bind 0.0.0.0 --theme mondarth --buildDrafts --disableFastRender
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
# vim :ft=bash:
|
||||
#
|
||||
PUID="$(id -u)" PGID="$(id -g)" docker compose up
|
||||
Reference in New Issue
Block a user