Platformsh GitHub Action
Last updated
Last updated
Platformsh is a hosting platform that is very flexible in spinning up environments from git branches and pull requests.
Diffy can be integrated so that it visually compares each pull request with whatever environment you like. In our example, we compare it with production. You can watch a in the bottom of the page.
Complete steps to set up the integration are:
Set up Platformsh
Create a project in Diffy, specify the production environment
Under Project settings > Notifications > Github add URL of your GitHub repo and enable the Diffy GitHub app
Create an
Populate DIFFY_API_KEY and DIFFY_PROJECT_ID as
Create a GitHub action with the following code
Once all this is done and GitHub action is merged, you create a pull request with visual changes and see how Diffy gets triggered and posts results back to the pull request.