-
Run
npm install
and thenbundle install
to bring in all other dependencies
-
Checkout a new branch
-
npm run draft "My New Post"
-
Fill out all frontmatter details, setting
date
to the expected publication date
-
Write content as a child page under 'Drafts' within internal Confluence space
-
Once your draft is completed create a child page under 'Posts' and copy over just the blog content from your draft
-
Export your post content to HTML (Space Settings > Content Tools > Export > HTML > Custom Export)
-
Checkout a new branch and run
npm install
-
Unzip download and copy the resulting
TI
folder to the root directory -
Convert the exported HTML files to Markdown by running
npm start
, the converted files will be placed in theout
folder
-
Within
examples
create a new folder named after your new post's slug -
Drop all related example code and files into the new folder
-
Link to this folder from your post with the following syntax
[link]({{ site.examples_url }}{{ page.slug }})
- Run
npm test
to open http://localhost:4000 where the site will be hosted locally with livereload enabled
-
Commit local changes and open a PR
-
After the PR has been merged, our scheduled Github Action should auto-publish the post once the publication date has been reached
-
Verify you can view the new content online after the publication date 🎉