mirror of
https://github.com/fruworg/infrastructure.git
synced 2024-11-16 05:17:17 +03:00
Create hugo-update.sh
This commit is contained in:
parent
76d1193ae2
commit
39806a0781
8
scripts/hugo-update.sh
Normal file
8
scripts/hugo-update.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
HUGO_DIR=/tmp/hugo
|
||||||
|
rm -r "$HUGO_DIR"
|
||||||
|
mkdir "$HUGO_DIR"
|
||||||
|
cd "$HUGO_DIR"
|
||||||
|
git clone https://github.com/fruworg/fruworg.github.io --recurse-submodules -j8 .
|
||||||
|
hugo -s /tmp/hugo --destination /var/caddy/hugo
|
||||||
|
rm -r "$HUGO_DIR"
|
Loading…
Reference in New Issue
Block a user