Compare commits

...

2 Commits

Author SHA1 Message Date
Rico Ullmann 77bbfcead2
Makefile: fix perms after ssh_upload 2022-04-05 18:16:48 +02:00
Rico Ullmann e8ac6160ff
add terminal-cookbook as submodule 2022-04-05 18:16:22 +02:00
3 changed files with 5 additions and 0 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "themes/simple-cookbook"]
path = themes/simple-cookbook
url = git@git.ullmann.space:rullmann/hugo-theme-simple-cookbook.git
[submodule "themes/terminal-cookbook"]
path = themes/terminal-cookbook
url = git@github.com:rullmann/hugo-theme-terminal-cookbook.git

View File

@ -7,6 +7,7 @@ SSH_TARGET_DIR=/var/www/recipes.ullmann.space/htdocs
ssh_upload:
hugo
rsync --delete -r --info=progress2 --rsync-path="sudo rsync" $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)/
ssh ${SSH_HOST} "sudo chown -R nginx: ${SSH_TARGET_DIR}"
server:
hugo server -D

1
themes/terminal-cookbook Symbolic link
View File

@ -0,0 +1 @@
/home/rullmann/git/private/hugo-theme-terminal-cookbook