Skip to content

Fix GitHub Pages deploy job by replacing built-in workflow with custom one - #13

Merged
huwdp merged 2 commits into
masterfrom
copilot/fix-deploy-job
Jul 3, 2026
Merged

Fix GitHub Pages deploy job by replacing built-in workflow with custom one#13
huwdp merged 2 commits into
masterfrom
copilot/fix-deploy-job

Conversation

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

The built-in pages-build-deployment dynamic workflow was failing: on the first attempt the deployment stayed stuck in deployment_queued for the full 10-minute timeout; on the re-run, only the deploy job was retried, so the github-pages artifact uploaded by build in attempt 1 had expired, causing an immediate failure.

Changes

  • Added .github/workflows/deploy.yml — a self-contained Pages deployment workflow that runs checkout, artifact upload, and deploy in a single job, so the artifact is always fresh when the deploy step executes. Eliminates the split build/deploy job architecture that makes partial reruns fragile.
jobs:
  deploy:
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/configure-pages@v5
      - uses: actions/upload-pages-artifact@v3
        with:
          path: '.'
      - uses: actions/deploy-pages@v4

Concurrency group "pages" with cancel-in-progress: false prevents overlapping deployments. OIDC permissions (id-token: write, pages: write) match what deploy-pages requires.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job deploy Fix GitHub Pages deploy job by replacing built-in workflow with custom one Jul 3, 2026
Copilot finished work on behalf of huwdp July 3, 2026 21:31
Copilot AI requested a review from huwdp July 3, 2026 21:31
Copilot finished work on behalf of huwdp July 3, 2026 21:32
@huwdp
huwdp marked this pull request as ready for review July 3, 2026 21:33
@huwdp
huwdp merged commit 0732e49 into master Jul 3, 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.

2 participants