Skip to content

Shell

1 page
  • Deploying with a post-receive Git Hook

    In Posts 604 words 3 min

    GitDevopsDeploymentLinuxShellHooks

    Deploying through CI is great, but sometimes you just need to push code to a server with a single git push. The post-receive hook in a bare repository handles this without extra dependencies: push to the server, and the hook automatically checks out …

    Deploying through CI is great, but sometimes you just need to push code to a server with a single git push. The post-receive hook in a bare repository handles this without extra dependencies: push to the server, and the hook automatically checks out …