From e6eea72894da0b5b303fe4a045f5a806e784e379 Mon Sep 17 00:00:00 2001 From: HF Date: Sun, 19 Jun 2022 23:42:53 +0200 Subject: [PATCH] update deployment/README --- deployment/README.md | 4 ++-- deployment/githook.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/README.md b/deployment/README.md index 345cf633..a97a9d30 100644 --- a/deployment/README.md +++ b/deployment/README.md @@ -7,8 +7,8 @@ Examples of configurations, will be copied into ./dist on build ## updtmsg Basic nodejs script to print a message and a youtube video, used as a message while updating -## post-receive -Pixelplanet has its own git repository for deployment on the live system, if an commit get pushed to it, it will automatically build the canvas and deploy it and post update messages to discord. This hook is managing that on the server. +## githook.sh +Pixelplanet has its own git repository for deployment on the live system, if an commit get pushed to it, it will automatically build the canvas and deploy it. This hook is managing that on the server. ## Some notes: Cloudflare Caching Setting `Broser Cache Expiration` should be set to `Respect Existing Headers` or it would default to 4h, which is unreasonable for chunks. diff --git a/deployment/githook.sh b/deployment/githook.sh index 24c03882..3b4bebc2 100755 --- a/deployment/githook.sh +++ b/deployment/githook.sh @@ -2,7 +2,7 @@ # This hook builds pixelplanet after a push, and deploys it, it should be ron post-receive # If it is the production branch, it will deploy it on the life system, and other branch will get deployed to the dev-canvas (a second canvas that is running on the server) # -# To set up a server to use this, you have to go through the building steps manually first. +# To set up a server to use this, you have to go through the building steps manually first and check out the branches you want to use. # #folder for building the canvas (the git repository will get checkout there and the canvas will get buil thtere) BUILDDIR="/home/pixelpla/pixelplanet-build"