pelican icon indicating copy to clipboard operation
pelican copied to clipboard

Running Pelican as Github Action, one-step static hosting on yourname.github.io

Open egberts opened this issue 4 years ago • 3 comments

  • [x] I have searched the issues (including closed ones) and believe that this is not a duplicate.

Issue

Scenario

Often times, we like to just post a Markdown (.md) file by only commiting it into our Github repository and then keep walking just to check our phone for THAT new web page.

Options

I do believe this is now attainable by using the "Continuous Integration" (CI) called "Actions" in Github.

So, I googled for it and got this 'HOWTO'.

Trouble In Paradise

The problem is that this is a pretty vague step-by-step and it does not appear to be well-written (perhaps too specific for a distro). I am about to try this but at the same time, I want to ask you this:

A Lil' Help?

Are there any other websites that details how to runs Pelican make in Github Actions?

egberts avatar Mar 21 '22 12:03 egberts

I always write the content, run pelican and commit both the markdown the site.. But yes you could what you suggest as well.

There is a GH Action in the Marketplace. https://github.com/marketplace/actions/pelican-to-github-pages

And a blog post... https://nielscautaerts.xyz/deploying-a-pelican-static-site-with-github-actions.html

askpatrickw avatar Mar 22 '22 02:03 askpatrickw

Made My Day!

Thanks ever so MUCH!

egberts avatar Mar 23 '22 00:03 egberts

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your participation and understanding.

stale[bot] avatar Jun 12 '22 18:06 stale[bot]

We now have a reusable Actions workflow and relevant documentation for this, thanks to @seanh. See #3189.

avaris avatar Oct 31 '23 20:10 avaris