CI Providers

This is a growing list of examples for uploading documentation from specific Continuous Integration providers.

Using a provider not listed here? Please help us crowdsource guides for other providers. We are also more than happy to help you get setup. Just email us at support@doctave.com.

GitHub Actions

First, add your upload token as a secret in your repository setting. Go to Settings > Secrets > New Repository Secret, and add a new secret called DOCTAVE_UPLOAD_TOKEN containing your project's upload token. See here on where to find your upload token.

Next, add the following step to your GitHub Actions configuration:

- name: Publish docs
  env:
    DOCTAVE_UPLOAD_TOKEN: ${{ secrets.DOCTAVE_UPLOAD_TOKEN }}
  run: curl -s https://raw.githubusercontent.com/Doctave/push/master/doctave-push.sh | bash -s -- .

On your next CI run you should see your documentation uploaded to Doctave.