How to trigger deployments via GitHub actions

In order to trigger deployments from your GitHub actions, we'll need to do a call to the deploy webhook URL in order for Ploi to know your application has to be deployed.

To do a call from your GitHub action, we'll need an additional plugin from the GitHub market place. You have a few options for this, we'll list the tested options here:

With these plugins, you'll be able to send cURL calls to the Ploi deploy webhook URL. To get this deploy webhook URL, visit your site in and press the repository tab. Next scroll down until you see the Deploy Webhook URL card:

Copy this URL and enter this part inside your GitHub action file (this example uses the first plugin listed above):

        - name: Deploy To Ploi
            uses: fjogeleit/[email protected]
                url: ''
                method: 'POST'

Make sure to replace the URL with your deploy webhook URL.

29 October 2020