Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Auto-deploy to gh-pages branch using GitHub Actions. #21

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 1 commit into from
Mar 20, 2020

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Mar 20, 2020

Currently, this is only done for commits to the master branch. If we want to do some scheduled posts, we can have this trigger daily (then posts with a date in the future will become visible on some future day).

You can see this run on my fork when I pushed it to master.

@davidevaleriani
Copy link
Member

That's great, it makes a lot of sense (and life easier!). Can you make auto-deploy trigger daily and then I will merge?
The main concern is that Github has the most up-to-date version of Hugo (0.67.1) and I encountered some incompatibilities in the past between the theme (aether) and the Hugo's version. So, we just need to be extra-careful before committing and make sure our local version of Hugo is the same that Github uses.

@QuLogic
Copy link
Member Author

QuLogic commented Mar 20, 2020

I can pin Hugo versions if that helps, do you have a specific version in mind?

@davidevaleriani
Copy link
Member

I have tested 0.62.2, so maybe pin that for now. Then, from time to time, we'll run thorough check locally to make sure everything works with more recent versions and update the auto-deploy?

@davidevaleriani davidevaleriani merged commit 0dcef35 into matplotlib:master Mar 20, 2020
@davidevaleriani
Copy link
Member

Thanks!

@QuLogic QuLogic deleted the auto-deploy branch March 20, 2020 20:33
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