Skip to content

Fix deploy workflow by configuring GitHub Pages before deployment - #2251

Merged
fdncred merged 3 commits into
nushell:mainfrom
fdncred:main
Sep 28, 2026
Merged

fdncred merged 3 commits into
nushell:mainfrom
fdncred:main

Conversation

@fdncred

@fdncred fdncred commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

The deploy job was failing in actions/deploy-pages with a 404 during deployment creation. The workflow was building and uploading artifacts correctly, but Pages was not being configured in-run before deploy.

  • Root cause

    • actions/deploy-pages was invoked without first running actions/configure-pages, causing deployment API calls to fail (Not Found).
  • Workflow change

    • Added a Setup Pages step to .github/workflows/deploy.yml in the build job before Node setup/build steps.
  • Resulting deploy flow

    • Checkout → Configure Pages → Build docs → Upload Pages artifact → Deploy artifact.
- name: Setup Pages
  uses: actions/configure-pages@v5.0.0

Copilot AI and others added 3 commits September 28, 2026 12:24
Co-authored-by: fdncred <343840+fdncred@users.noreply.github.com>
…-deploy

Fix deploy workflow by configuring GitHub Pages before deployment
@fdncred
fdncred merged commit 61d483f into nushell:main Sep 28, 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.

2 participants