mirror of
https://github.com/fruworg/infrastructure.git
synced 2025-01-18 06:30:51 +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…
x
Reference in New Issue
Block a user