Skip to content

Deploy fails: gen-manticore-docs.sh is not executable #3

Description

@p0dalirius

Summary

The Pages deploy fails at the "Generate Manticore API docs" step with Permission denied (exit 126): scripts/gen-manticore-docs.sh was committed without its executable bit, so run: scripts/gen-manticore-docs.sh cannot exec it.

Location

  • File(s): scripts/gen-manticore-docs.sh, .github/workflows/deploy.yml
  • Line(s) / function(s): deploy "Generate Manticore API docs" step

Category

functional

Severity

high — breaks every Pages deploy on main; the site cannot publish.

Reproduction / Evidence

Run Deploy Hugo site to GitHub Pages (e.g. run 27774146497). The step logs:
scripts/gen-manticore-docs.sh: Permission denied then Process completed with exit code 126.
git ls-files -s scripts/gen-manticore-docs.sh reports mode 100644 (non-executable).

Expected Behavior

The deploy runs the generation script and continues to the Hugo build.

Actual Behavior

The step exits 126 and the deploy fails before building.

Root Cause

The script file mode in git is 100644; the workflow invokes it directly, which requires the executable bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions