tari-project / rfcs

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

feat: node-based build script #131

Closed CjS77 closed 8 months ago

CjS77 commented 8 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-workers-and-pages[bot] commented 8 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: d1a7a9b
Status:🚫  Build failed.

View logs

CjS77 commented 8 months ago

ACK