diff --git a/hooks/post-receive b/hooks/post-receive index 3c147ad..fc8b7a7 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -16,7 +16,7 @@ do } echo "[deploy] building and deploying site"; { - podman-compose up --build deploy + podman-compose run deploy } fi done diff --git a/readme.md b/readme.md index e7274d9..231dd78 100644 --- a/readme.md +++ b/readme.md @@ -1,20 +1,20 @@ # https://jonathan.is -## quickstart - develop zs serve --debug -build +run + + podman compose up --build - podman compose build +deploy -run + neocities push --prune .pub - podman compose up +## continuous integration -deploy - runs a post-receive hook on the remote which pushes to neocities +this will setup a post-receive hook, that does a fresh build + deploy git push