Skip to content

ci: skip rebuild and duplicate CloudFront invalidation on nginx.conf-only pushes#2721

Open
markubra wants to merge 1 commit into
masterfrom
ci/docs-skip-nginx-only-invalidation
Open

ci: skip rebuild and duplicate CloudFront invalidation on nginx.conf-only pushes#2721
markubra wants to merge 1 commit into
masterfrom
ci/docs-skip-nginx-only-invalidation

Conversation

@markubra

@markubra markubra commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

A push touching only nginx.conf triggered both docs.yaml (fires on every master push → invalidates CloudFront) and deploy-nginx.yml (fires on the nginx.conf path → deploys nginx and invalidates), so the same distribution (E35XFW5797FGPU) was invalidated twice and the docs content was rebuilt for no reason. paths-ignore: nginx.conf here so nginx.conf-only commits are handled solely by the nginx deploy path, which invalidates after the rollout.

Pairs with apify/apify-docs-private#78.

🤖 Generated with Claude Code

@apify-service-account

apify-service-account commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

✅ Preview for this PR (commit 1ce310e) is ready at https://pr-2721.preview.docs.apify.com (see action run).

…nx.conf-only pushes

docs.yaml runs on every master push and invalidates CloudFront, while
deploy-nginx.yml already deploys and invalidates on nginx.conf changes - so a
commit touching only nginx.conf invalidated the same distribution twice and
triggered a pointless content rebuild. Ignore nginx.conf here.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@markubra markubra force-pushed the ci/docs-skip-nginx-only-invalidation branch from 5f09772 to 1ce310e Compare July 2, 2026 11:54
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