Skip to content

Conversation

samcunliffe
Copy link
Collaborator

@samcunliffe samcunliffe commented Jun 15, 2023

This is a cherry-pick of the first commit from #166 but where the branch is not from a fork, but from @matplotlib's repo directly.

Probably you need to set up the pages from the gh-pages branch in the repo settings? Because there's nothing at https://matplotlib.github.io/napari-matplotlib

@samcunliffe samcunliffe changed the title Sam's WIP Add doc deployment job Add doc deployment job Jun 15, 2023
@samcunliffe samcunliffe requested a review from dstansby June 15, 2023 11:19
@samcunliffe samcunliffe marked this pull request as ready for review June 15, 2023 11:19
name: docs

- name: Push to GitHub pages
uses: peaceiris/actions-gh-pages@v3
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Probs only want to publish the docs for commits to main.

Suggested change
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v3
if: github.event_name == 'push' && github.ref_name == 'main'

And we could switch to JamesIves' action.

@dstansby dstansby mentioned this pull request Jun 15, 2023
@dstansby
Copy link
Member

Upload is now working. The settings page says the site should be at https://matplotlib.org/napari-matplotlib/, but it is not. I suggest we 🚢 this, and I'll chat to the Matplotlib org admins about how to sort out the domain stuff.

Screenshot 2023-06-15 at 13 52 51

@dstansby dstansby merged commit be9466c into main Jun 15, 2023
@dstansby dstansby deleted the sam-not-fork/doc-deployment-job branch June 15, 2023 12:55
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