Skip to content

Ignore PDF page without PRIVATE_TOKEN set

Matt Wilson requested to merge matt_wilson-prod_ops_generator_fix into master

Why is this change being made?

Building the handbook without PRIVATE_TOKEN set was causing /handbook/product-develop-flow/releases/template.html to generate an error for an unset variable (pdf_releases). This MR adds an ignore for all PDF pages if PRIVATE_TOKEN is not set, skipping this and future templates to avoid the error.

Author Checklist

  • Provided a concise title for the MR
  • Added a description to this MR explaining the reasons for the proposed change, per say-why-not-just-what
  • Assign this change to the correct DRI
    • If the DRI for the page/s being updated isn’t immediately clear, then assign it to one of the people listed in the "Maintained by" section in on the page being edited.
    • If your manager does not have merge rights, please ask someone to merge it AFTER it has been approved by your manager in #mr-buddies.
    • If the changes relate to any part of the project other than updates to content and/or data files please make sure to ping @gl-static-site-editor in a comment for a review and merge. For example changes to .gitlab-ci.yml, JavaScript/CSS/Ruby code or the layout files. (this requirement has been removed pending identification of a new DRI for the handbook)
Edited by Matt Wilson

Merge request reports

Loading