Compare commits
3 Commits
3edaf126dc
...
5491bfc964
Author | SHA1 | Date |
---|---|---|
David Thurstenson | 5491bfc964 | |
David Thurstenson | fce12bfe18 | |
David Thurstenson | bd65c88e87 |
15
config.toml
15
config.toml
|
@ -20,15 +20,20 @@ mode = "dark-mode"
|
||||||
|
|
||||||
[menu]
|
[menu]
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "git"
|
identifier = "about"
|
||||||
name = "git repos"
|
name = "About"
|
||||||
url = "https://git.thurstylark.com"
|
url = "/about/"
|
||||||
weight = 2
|
weight = 1
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "windex"
|
identifier = "windex"
|
||||||
name = "Wiki Index"
|
name = "Wiki Index"
|
||||||
url = "/"
|
url = "/"
|
||||||
weight = 1
|
weight = 2
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "git"
|
||||||
|
name = "git repos"
|
||||||
|
url = "https://git.thurstylark.com"
|
||||||
|
weight = 3
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
category = "categories"
|
category = "categories"
|
||||||
|
|
6
deploy
6
deploy
|
@ -3,11 +3,9 @@
|
||||||
# To auto-deploy this on git push, add a symlink at .git/hooks/pre-push that points to this script
|
# To auto-deploy this on git push, add a symlink at .git/hooks/pre-push that points to this script
|
||||||
# Example: ln -s ../../deploy .git/hooks/pre-push
|
# Example: ln -s ../../deploy .git/hooks/pre-push
|
||||||
|
|
||||||
# Get the dir of the running script
|
|
||||||
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|
||||||
|
|
||||||
# Pull variables in from deploy_id
|
# Pull variables in from deploy_id
|
||||||
source "$SCRIPT_DIR/deploy_id"
|
#source "$SCRIPT_DIR/deploy_id"
|
||||||
|
source "./deploy_id"
|
||||||
|
|
||||||
# Generate and push the output to the server
|
# Generate and push the output to the server
|
||||||
hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DIR}
|
hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DIR}
|
||||||
|
|
Loading…
Reference in New Issue