Init Repo
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
echo "Baue Hugo-Seite..."
|
||||
hugo
|
||||
|
||||
echo "Deploye nach deploy@bnd.wtf..."
|
||||
rsync -avz --delete public/ deploy@bnd.wtf:/srv/www/loveleylizard.com/
|
||||
|
||||
echo "Deploy erfolgreich."
|
||||
@@ -0,0 +1,2 @@
|
||||
public/
|
||||
.hugo_build.lock
|
||||
@@ -0,0 +1,15 @@
|
||||
# Stinkwurzpresse
|
||||
|
||||
Hugo-Seite für [loveleylizard.com](https://loveleylizard.com/).
|
||||
|
||||
## Setup auf einem neuen Gerät
|
||||
|
||||
Nach dem Klonen einmalig ausführen, damit der Deploy-Hook aktiv ist:
|
||||
|
||||
```sh
|
||||
git config core.hooksPath .githooks
|
||||
```
|
||||
|
||||
## Deploy
|
||||
|
||||
`git push` baut die Seite automatisch mit Hugo und deployt per rsync nach `deploy@bnd.wtf:/srv/www/loveleylizard.com/`. Voraussetzung: Hugo installiert, SSH-Key für `deploy@bnd.wtf` vorhanden.
|
||||
@@ -0,0 +1 @@
|
||||
Hello World!
|
||||
Reference in New Issue
Block a user