readthedocs / actions

GitHub Actions for Read the Docs
MIT License
33 stars 10 forks source link

Change GH action path to always take current version #28

Open LecrisUT opened 1 year ago

LecrisUT commented 1 year ago

:books: Documentation preview :books:: https://readthedocs-preview--28.org.readthedocs.build/en/28/

LecrisUT commented 1 year ago

Hmm for some reason this doesn't work. I suspect it's because of:

on:
  pull_request_target:
    types:
      - opened

So that it still runs the version on main.

Edit: Indeed that was the case. Changing it on: pull_request fixes that.