Set the setgid bit on the deployment dir to make sure cleanup works
This adds a step to the deployment process that sets the setgid bit on the PROJECT_DIR
so that any files that e.g. the shiny process creates
inside the deployment directory get owned by the gitlabcicd group. This way, those directories can still be cleaned up when the CI/CD job runs the cleanup-repo step (as the gitlabcicd
user).
Fixes CHU/shiny/stuvi#27.
(Same as !29 (closed), but with proper branch name.)