Skip to content

Deploy with github action#

See also: colophon

The new Mac is a bit dodgy with large commits/pushes to GitHub. Which is a part of the standard deploy process with why-mkdocs-foam.

First attempt#

One solution is to deploy mkdocs with a GitHub action.

Avoid outdated

Requirements

  1. Enable GitHub pages
  2. Building with `[PERSONAL|GITHUB]_TOKEN? (using GITHUB)
  3. Which mkdocs plugins

Working? - no No event triggers define in "on"

Out of date.

Second attempt - use the Material for mkdocs approach#

Working!!!!!

First attempt fails

Deploy - Process completed with exits code 1.

Double check gh-pages as publish branch - this probably won't make any difference

No it didn't, but if you dig down into the error message from GitHub the issue is that the roamlinks plugin isn't available. Meaning I'll need to identify the Foam requirements and add those, but also that the Collections repo should work with this fine.

Collections updated. Identified the additional modules and updated the ci.yml.

Done.