Skip to content

Conversation

@mrbean-bremen
Copy link
Member

  • triggered on publishing a GH release
  • includes creation of release documentation
  • add PR templates, adapt issue templates
  • minor documentation changes

- triggered on publishing a GH release
- includes creation of release documentation
- add PR templates, adapt issue templates
- minor documentation changes

- name: Copy and commit release documentation
run: |
cp -r main/gh-pages/* doc/release
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh interesting, the docs are published in gh-pages.

In the future I suggest to use readthedocs.io, which builds the docs automatically for releases and even PRs for preview. 👍

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Until now, I have always done it this way (including in pytest-order), but I will have a look at readthedocs in this case, thanks. Not for this release, though...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The preview feature is indeed something I am missing in gh-pages, so I will definitely check this out!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, setting up ReadTheDocs is very easy, as it turned out - I will probably change this before the release. Maybe tomorrow if I get to it... The PR preview is too good a feature to miss, and as far as I understand, there is literally nothing to do in the release workflow (apart from removing the GH Pages stuff again). Thanks for the tip!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing!

The preview is not enabled by default, you need to go into advanced settings and enable it:

image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I noticed this. A bit odd that this cannot be configured in the configuration file...

- use build instead of setup
- changed token name
@mrbean-bremen mrbean-bremen merged commit cd4abaf into pytest-dev:main Oct 8, 2022
github-actions bot pushed a commit that referenced this pull request Oct 8, 2022
…elease - includes creation of release documentation - add PR templates, adapt issue templates - minor documentation changes
@mrbean-bremen mrbean-bremen deleted the auto_release branch October 8, 2022 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants