mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-14 01:02:19 +00:00
Add retro theme
This commit is contained in:
12
tools/retro-deploy.sh
Executable file
12
tools/retro-deploy.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
# Deploys the retro version of the website. Ran the same way as the branch deploy.
|
||||
set -u
|
||||
|
||||
TARGET_FOLDER=$(realpath $1)
|
||||
BASE_URL="$2"
|
||||
|
||||
# Arguments to add to the Hugo call
|
||||
HUGO_ARGUMENTS="--gc"
|
||||
|
||||
git pull
|
||||
hugo --quiet ${HUGO_ARGUMENTS} -b "${BASE_URL}" -d "${TARGET_FOLDER}" -t "lhs-retro"
|
||||
Reference in New Issue
Block a user