Git repo of example.com [Gitea Docker container] git-checkouts files to /docker/gitea/example.com, then moves files into locally-hosted website [nginx Docker container] /docker/www/example.com.
- Files are pushed to Gitea repo example.com
- Gitea instance with post-receive & git-checkout outputs to
- (!) Post-receive then executes movefiles.sh to move website data from
/docker/gitea/example.com to /docker/www/example.com
This is where I am stuck, as movefiles.sh is never executed by post-receive; script is also set to proper execution permissions. If there exists a more streamlined approach to this, let me know.
Thanks in advance for any help.
Source: Docker Questions