tari-project / rfcs

RFC documents for the Tari protocol
3 stars 17 forks source link

feat: node-based build script #131

Closed CjS77 closed 6 months ago

CjS77 commented 6 months ago

Add a node.js-based build script so that this site can run in Cloudflare pages.

The script does the following:

  1. Downloads the specified version of mdbook from the GitHub releases page
  2. Verifies its SHA256 hash
  3. Extracts it to a temporary directory
  4. Runs mdbook build against the book.toml file in the current directory
  5. Places the built book in the temporary directory

mdbook.env (which is checked in and MUST NOT hold any secrets) allows you to set the version of mdbook and its hash.

cloudflare-pages[bot] commented 6 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: d1a7a9b
Status:🚫  Build failed.

View logs

CjS77 commented 6 months ago

ACK