Skip to content

Add doc deployment job #172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 15, 2023
Merged

Add doc deployment job #172

merged 4 commits into from
Jun 15, 2023

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