refactor: Update Cloudflare Workers configuration and entry point han…#6
Merged
Conversation
…dling for Next.js deployment
MusaMisto
added a commit
that referenced
this pull request
Jun 14, 2026
…pin kubectl #5 kubeconfig handling: - Write the decoded kubeconfig to $RUNNER_TEMP instead of the workspace, so the credential is no longer left in the checked-out tree, and add an `if: always()` cleanup step that removes it (matters on self-hosted/reused runners). - Adopt the generic-gateway-helm-template workflow's decoder (base64 with raw fallback) and add a fail-fast apiVersion validation. Behavior-preserving for the two real input forms (base64 secret, raw YAML) — both decode to a semantically identical kubeconfig — and now rejects malformed input with a clear message instead of letting Helm fail later. #6: - Remove `actions/checkout@v6`: the deploy job uses no repo files (chart comes from chart_repo, image from the registry); the only workspace reference was the old kubeconfig path, now in RUNNER_TEMP. Updated the chart/chart_repo input docs to note local chart paths are not supported. - Pin kubectl to v1.34.0 instead of 'latest' for reproducibility (only basic core-resource ops are used, so cluster skew is not a concern; documented as bumpable to track the cluster's minor version). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…dling for Next.js deployment