hugo: added deploy script to build and upload website

Signed-off-by: Stefan Römer <stefan.roemer@senvang.org>
This commit is contained in:
Stefan Römer 2022-12-10 01:03:38 +07:00 committed by Stefan Römer
parent bbb81ba4ac
commit 84bcaa5101
Signed by: sroemer
GPG Key ID: AF4AAD1405F66F2F
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
.hugo_build.lock
deploy*
public/
resources/

2
deploy Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
hugo && rsync -avz --delete public/ "$USER"@arcturus.uberspace.de:~/html/