O'Reilly logo

TypeScript Design Patterns by Vilic Vane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deployment automation

Rather than a version control tool, Git is also popular for relatively simple deployment automation. And in this section, we'll get our hands on and configure automated deployment based on Git.

Passive deployment based on Git server side hooks

The idea of passive deployment is simple: when a client pushes commits to the bare repository on the server, a post-receive hook of Git will be triggered. And thus we can add scripts checking out changes and start deployment.

The elements involved in the Git deployment solution on both the client and server sides includes:

Passive deployment based on Git server side hooks

To make this mechanism work, we need to perform the following steps: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required