Skip to content

Enable Pages auto-enable in deploy workflows to unblock failing deploy job - #3

Merged
MrHakan merged 2 commits into
mainfrom
copilot/fix-failing-deploy-job
Jul 30, 2026
Merged

MrHakan merged 2 commits into
mainfrom
copilot/fix-failing-deploy-job

Conversation

Copilot AI commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

The deploy GitHub Actions job fails during Pages setup because actions/configure-pages@v5 expects an existing Pages site and errors with Not Found when it is not pre-enabled. This PR updates the deployment workflows to allow automatic Pages enablement.

  • Root cause alignment

    • configure-pages step failed before artifact upload/deploy due to missing Pages site configuration.
  • Workflow changes

    • Updated both deploy workflows:
      • .github/workflows/static.yml
      • .github/workflows/pages.yml
    • Added enablement: true to actions/configure-pages@v5 so repository Pages can be initialized by the workflow when absent.
  • Behavioral impact

    • Deploy workflows no longer hard-fail at setup when Pages has not been manually configured in advance.
- name: Setup Pages
  uses: actions/configure-pages@v5
  with:
    enablement: true

Copilot AI changed the title [WIP] Fix the failing GitHub Actions job deploy Enable Pages auto-enable in deploy workflows to unblock failing deploy job Jul 30, 2026
Copilot AI requested a review from MrHakan July 30, 2026 15:37
@MrHakan
MrHakan marked this pull request as ready for review July 30, 2026 15:38
Copilot AI review requested due to automatic review settings July 30, 2026 15:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@MrHakan
MrHakan merged commit 9cdcced into main Jul 30, 2026
2 checks passed
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.

3 participants