Skip to content

fix: remove pull_request trigger from deploy workflow#10

Merged
ARC345 merged 1 commit into
ARC345:mainfrom
arc-butler:fix/deploy-no-pr
Jun 22, 2026
Merged

fix: remove pull_request trigger from deploy workflow#10
ARC345 merged 1 commit into
ARC345:mainfrom
arc-butler:fix/deploy-no-pr

Conversation

@arc-butler

Copy link
Copy Markdown
Contributor

What

Removes the pull_request trigger from deploy.yml.

Why

The workflow was running on every PR commit — installing pixi, building the full site, purging CSS. The deploy step was gated with if: github.event_name != 'pull_request' but the pipeline still ran, wasting ~3 minutes of CI per commit for no benefit.

After

Deploy only runs on push to main/master or manual dispatch. PRs skip CI entirely for this workflow. Other PR checks (prettier, codeql, broken links, axe, lighthouse) still run independently.

PRs against main/master triggered a full build (pixi install, jekyll build,
purgecss) for every commit, wasting CI minutes. The deploy step was already
gated by a condition, but the pipeline still ran. Now deploy only runs on
push to main/master or manual dispatch.
@ARC345 ARC345 merged commit 990e3ff into ARC345:main Jun 22, 2026
4 of 5 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