programm-webhook/README.md

519 B

Docker Nginx Git

This is a container to serve static pages from two git repositories. One repository holds the static sites, the other holds an assets-folder.

From the static sites repository all branches are initially loaded to $HTML_FOLDER/branches/<branchname>, the assets folder is initially loaded to $HTML_FOLDER/assets.

On a push to some branch on the static sites repository, this branches folder is deleted and cloned again. The assets folder is only updated if the push happened on the main branch.