Skip to content

fix: pages deployment#64

Merged
MessiasLima merged 5 commits into
mainfrom
fix-docs-deployment-artifact-conflict-5274002369428484507
Jun 15, 2026
Merged

fix: pages deployment#64
MessiasLima merged 5 commits into
mainfrom
fix-docs-deployment-artifact-conflict-5274002369428484507

Conversation

@MessiasLima

Copy link
Copy Markdown
Owner

The documentation deployment workflow was failing because actions/deploy-pages@v5 encountered multiple artifacts named 'github-pages'. This issue often occurs due to compatibility problems between the newer v5 versions of the upload and deploy actions.

By downgrading actions/upload-pages-artifact to v3 and actions/deploy-pages to v4, we revert to a stable and well-tested artifact handling mechanism. Other actions in the workflow were also downgraded to their widely-used stable versions (checkout@v4, setup-python@v5, configure-pages@v5) to ensure overall workflow stability and consistency.

I have verified the changes by reading the updated workflow file and running the project's test suite and static analysis to ensure no other parts of the project were affected.

Fixes #58


PR created automatically by Jules for task 5274002369428484507 started by @MessiasLima

Downgraded GitHub Actions in .github/workflows/docs.yml to stable versions
to resolve a conflict where multiple artifacts named 'github-pages' were
found, causing deployment failures.

Changes:
- actions/configure-pages@v6 -> v5
- actions/checkout@v6 -> v4
- actions/setup-python@v6 -> v5
- actions/upload-pages-artifact@v5 -> v3
- actions/deploy-pages@v5 -> v4

Co-authored-by: MessiasLima <10220064+MessiasLima@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

google-labs-jules Bot and others added 4 commits June 12, 2026 15:25
Resolved the "Multiple artifacts named 'github-pages' were found" error
in .github/workflows/docs.yml by using unique artifact names per run
attempt. This avoids conflicts when jobs are retried.

Changes:
- Added `concurrency` group to prevent overlapping deployments.
- Added `actions: read` permission for artifact metadata access.
- Implemented unique artifact naming: `github-pages-${{ github.run_id }}-${{ github.run_attempt }}`.
- Maintained modern action versions (v5/v6) as preferred.

Co-authored-by: MessiasLima <10220064+MessiasLima@users.noreply.github.com>
@MessiasLima MessiasLima changed the title Fix duplicate GitHub Pages artifacts in docs deployment fix: pages deployment Jun 15, 2026
@MessiasLima MessiasLima merged commit af7aaa2 into main Jun 15, 2026
1 check passed
@MessiasLima MessiasLima deleted the fix-docs-deployment-artifact-conflict-5274002369428484507 branch June 15, 2026 11:22
@github-project-automation github-project-automation Bot moved this from Ready to Done in Some Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Fix docs pipeline deployment failure due to duplicate GitHub Pages artifacts

1 participant