Skip to content

Add enablement parameter to GitHub Pages configuration - #125

Closed
makr-code with Copilot wants to merge 2 commits into
mainfrom
copilot/update-github-pages-configuration
Closed

makr-code with Copilot wants to merge 2 commits into
mainfrom
copilot/update-github-pages-configuration

Conversation

Copilot AI commented Dec 21, 2025 •

Copy link
Copy Markdown
Contributor

The documentation deployment workflow was failing with "Get Pages site failed. Please verify that the repository has Pages enabled" because GitHub Pages was not configured for the repository.

Changes

  • Added enablement: true parameter to actions/configure-pages@v5 step in .github/workflows/docs.yml

This parameter automatically enables GitHub Pages and configures it to deploy from GitHub Actions when not already set up.

- name: Setup Pages
  uses: actions/configure-pages@v5
  with:
    enablement: true
Original prompt

Problem

The documentation deployment job is failing with the error:

Get Pages site failed. Please verify that the repository has Pages enabled and configured to build using GitHub Actions, or consider exploring the `enablement` parameter for this action. Error: Not Found

Job URL: https://github.com/makr-code/ThemisDB/actions/runs/20410117709/job/58645697707

Solution

Update the .github/workflows/docs.yml file to add the enablement: true parameter to the actions/configure-pages@v5 step. This will automatically enable GitHub Pages for the repository if it's not already enabled.

Changes Required

In .github/workflows/docs.yml, modify the "Setup Pages" step (around line 121-122) from:

      - name: Setup Pages
        uses: actions/configure-pages@v5

To:

      - name: Setup Pages
        uses: actions/configure-pages@v5
        with:
          enablement: true

This parameter will automatically enable GitHub Pages and configure it to deploy from GitHub Actions, resolving the "Not Found" error.

Reference

This pull request was created from Copilot chat.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@makr-code

Copy link
Copy Markdown
Owner

@copilot fix it

@makr-code

Copy link
Copy Markdown
Owner

@copilot retry

Copilot AI commented Dec 21, 2025

Copy link
Copy Markdown
Contributor Author

@copilot retry

The fix has been applied in commit b59a5d2. The enablement: true parameter has been added to the actions/configure-pages@v5 step. Once this PR is merged to main, the documentation workflow will automatically enable GitHub Pages and deploy successfully.

@makr-code makr-code closed this Dec 21, 2025
@makr-code makr-code added this to the v1.0.2 milestone Mar 11, 2026
@makr-code makr-code mentioned this pull request Mar 12, 2026
2 tasks
Copilot AI added a commit that referenced this pull request Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants