USRSE / blog

syndicated blog for research software engineer stories and experiences
https://usrse.github.io/blog/
1 stars 5 forks source link

Testing CircleCI #1

Closed vsoch closed 5 years ago

vsoch commented 5 years ago

This will be the first pull request to add Continuous Integration for the syndicated site. Specifically:

When this basic setup is done, I'll add another to deploy back to GitHub pages (currently not working because I think of the CNAME in the other repository, or just GitHub is really slow today!). Then we can schedule a daily job so this is done without human intervention.

Signed-off-by: Vanessa Sochat vsochat@stanford.edu

vsoch commented 5 years ago

okay, the basic work is done for Circle to build and preview the site, saved as an artifact. For example, the index entrypoint is here:

https://13-186452639-gh.circle-artifacts.com/0/blog/index.html

And when you click a link, since circle doesn't support seeing an index.html as /, you would need to click and add the index.html. For example, if I click on:

https://13-186452639-gh.circle-artifacts.com/0/blog/archive/

I would get a 404, and I'd need to add the index.html to the end to specify the file exactly:

https://13-186452639-gh.circle-artifacts.com/0/blog/archive/index.html

The posts / content can also be found directly by navigating through the artifacts.

image

I've also added the robot (user manbat) that will perform the scheduled task and push back when new posts are generated. I'm going to do this final setup in a separate PR.