CI/CD & Github Releases

Integrating with your pipeline

We have tried to make it easier to integrate SideQuest into your existing workflows. Below is some information on how to integrate SideQuest with your Github Releases workflow or other continuous integration workflows.

See our listing/brand guides for more information on how to get the most out of your SideQuest.

Listing Guide Brand Guide
Creating a Webhook

Open the repository that you want to use for releases and select "Settings" along the top. This repository does not need to contain source code as we are just using the releases section for now.

Then select "Webhooks" on the left hand side menu and click on the "Add Webhook" button on the top right.

In the "Payload" field past the webhook URL you copied from your app manager page that looks like this:

Then select "Let me choose individual events and scroll down until you see "Releases" on the right hand side. Make sure that is the only option selected.

Finally scroll to the bottom and select "Add Webhook" to complete.

That's it, now when you publish a new release github will update your SideQuest listing automatically.

Without Github Releases

If you use another CI/CD workflow that does not involve Github Releases then you can use the following webhook to trigger auto-updates for users:

1 ) Copy the github release webhook url from above which gives you https://sdq.st/release-webhook/BIG_LONG_TOKEN

2 ) Change it to https://sdq.st/version-webhook/VERSION_CODE/BIG_LONG_TOKEN
Just replace VERSION_CODE with your incremented version code and leave the BIG_LONG_TOKEN the same as the webhook url you copied. It accepts GET and POST requests and you can also optionally include a JSON payload with the url property to update the URL of the APK file. It will remove any existing app urls with type APK and add the new one specified in the JSON payload.

3 ) Make a POST request to the endpoint. Here is a sample curl request:

              curl -X POST \
              https://sdq.st/version-webhook/VERSION_CODE/BIG_LONG_TOKEN \
              -H 'Accept: */*' \
              -H 'Accept-Encoding: gzip, deflate' \
              -H 'Cache-Control: no-cache' \
              -H 'Connection: keep-alive' \
              -H 'Content-Length: 25' \
              -H 'Content-Type: application/json' \
              -H 'Host: sdq.st' \
              -H 'cache-control: no-cache' \
              -d '{
              "url": "http://www.example.com"
              }'