Skip to content

Fix deploy-pages action version from v5 to v4#50

Merged
raux merged 2 commits intomasterfrom
copilot/update-deploy-pages-version
Jan 4, 2026
Merged

Fix deploy-pages action version from v5 to v4#50
raux merged 2 commits intomasterfrom
copilot/update-deploy-pages-version

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 4, 2026

The deployment job was failing because actions/deploy-pages@v5 does not exist. Updated to v4, which is the latest available version.

Changes

  • .github/workflows/hugo.yml line 75: actions/deploy-pages@v5actions/deploy-pages@v4
Original prompt

Problem

The GitHub Actions workflow is failing with the following error:

##[error]Unable to resolve action `actions/deploy-pages@v5`, unable to find version `v5`

This is occurring in the "Deploy to GitHub Pages" step of the deployment job.

Failing job: https://github.com/raux/raux.github.io/actions/runs/20687603112/job/59390981127#step:1:29

Solution

Update the .github/workflows/hugo.yml file at line 75 to use the correct version of the actions/deploy-pages action.

Change:

uses: actions/deploy-pages@v5

To:

uses: actions/deploy-pages@v4

The v5 version does not exist, and v4 is the latest available version of the action. This change will resolve the workflow failure and allow the Hugo site to deploy successfully to GitHub Pages.

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.

Copilot AI assigned Copilot and raux Jan 4, 2026
@raux raux marked this pull request as ready for review January 4, 2026 04:30
Copilot AI review requested due to automatic review settings January 4, 2026 04:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@raux
Copy link
Copy Markdown
Owner

raux commented Jan 4, 2026

@copilot what is the reason for this pull request?

Co-authored-by: raux <5723643+raux@users.noreply.github.com>
Copilot AI changed the title [WIP] Update deploy-pages action to version v4 Fix deploy-pages action version from v5 to v4 Jan 4, 2026
Copilot AI requested a review from raux January 4, 2026 04:35
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 4, 2026

@copilot what is the reason for this pull request?

The GitHub Actions workflow was failing because it tried to use actions/deploy-pages@v5, which doesn't exist. The latest available version is v4, so I updated line 75 of .github/workflows/hugo.yml to use actions/deploy-pages@v4 instead. This fixes the deployment failure so the Hugo site can deploy successfully to GitHub Pages.

@raux raux merged commit 849f987 into master Jan 4, 2026
1 check 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