GitHub offers many features that help the developer workflow. One of them is webhooks, the other one is integrations.
Webhooks allow external services to be pinged when certain events happen in the repository, like when code is pushed, a fork is made, a tag was created or deleted.
When an event happens, GitHub sends a POST request to the URL we told it to use.
A common usage of this feature is to ping a remote server to fetch the latest code from GitHub when we push an update from our local computer.
We push to GitHub, GitHub tells the server we pushed, the server pulls from GitHub.
You can use 3rd party integrations that improve the developer experience or provide a service to you.
For example you can setup a test runner to run the tests automatically every time you push some new commits, using TravisCI.
You can setup Continuous Integration using CircleCI.
You might create a Codeclimate integration that analyzes the code and provides a report of technical debt and test coverage.
Lessons this unit:
|6:||▶︎ Webhooks and integrations|
|7:||What happens after pushing|
|8:||DEMO Create a GitHub account|
|9:||DEMO Using GitHub desktop|
|10:||DEMO Using Git in VS Code|