Skip to main content

3 posts tagged with "Github Action"

CI/CD automation using GitHub Actions workflows

View All Tags

GitHub action to test build of Docusaurus

· One min read
Simon Painter
Cloud Network Architect

I have a lingering fear that I'll break my site due to the somewhat precise nature of Docusaurus. It's compounded by my decision to open the site up for others to submit pull requests; while I run live rendering during updates I can't guarantee others will. I have added a simple action on top of the existing one which is triggered when a pull request is created. The action builds the site and captures the output from npm run build --verbose and adds it as a comment to the pull request.

Uploading my Docusaurus site

· 2 min read
Simon Painter
Cloud Network Architect

I've now extended the github action for those who want to create their sites in Docusaurus and then have the commited and pushed changes automagically get built and synced to their S3 bucket. Static S3 sites are a great way to host static sites and Docusaurus is a great tool for rendering sites out of simple markdown content.

How to set up Github Actions to publish to S3 website

· 4 min read
Simon Painter
Cloud Network Architect

The problem

I used to run a hosted linux web server, which was great for stuff like all those weird little scripts and things I wanted to run 'always on'. After a while I put a few websites on it, and some websites for friends, and my little brother, and the local residents association, and next thing I knew I was running a load of instances of Wordpress. I was also constantly fending off the advances of hackers who were forever finding exploits in the famously insecure blogging platform.