Skip to content

ci: stop blocking preview deploys on Pages builds#438

Closed
vitormattos wants to merge 1 commit into
mainfrom
ci/fix-preview-workflow-timeout
Closed

ci: stop blocking preview deploys on Pages builds#438
vitormattos wants to merge 1 commit into
mainfrom
ci/fix-preview-workflow-timeout

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

  • stop waiting for the GitHub Pages build inside the PR preview workflow
  • run the expensive build steps only for opened/reopened/synchronize events
  • add the closed trigger so preview cleanup can run when a PR is closed

Why

Recent preview deploy jobs are succeeding in pushing to LibreSign/site-preview, but GitHub Pages is starting the actual build several minutes later. The current action waits only 180s for the build to appear, so the workflow fails even though the preview commit was already deployed.

This keeps preview deploys green and also lets the action remove preview directories on PR close.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-09 15:13 UTC

@vitormattos vitormattos closed this Jul 9, 2026
@vitormattos
vitormattos deleted the ci/fix-preview-workflow-timeout branch July 10, 2026 15:53
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.

1 participant