diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fb77700..bf6596e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,4 +32,4 @@ jobs: path: docs/_build/html - name: Upload to read the docs if: ${{ inputs.upload_docs == 'true' || inputs.upload_docs == true }} - run: curl -X POST -d "branches=master" -d "token=${{ secrets.RTDS_WEBHOOK_TOKEN }}" ${{ secrets.RTDS_WEBHOOK_URL }} + run: curl -X POST -d "branches=${{ github.ref_name }}" -d "token=${{ secrets.RTDS_WEBHOOK_TOKEN }}" ${{ secrets.RTDS_WEBHOOK_URL }}