Skip to content

Deploy code-managed edge rules (CLI 6.3.0) - #17

Open
stooit wants to merge 1 commit into
mainfrom
feat/rules-cli-6.3.0
Open

stooit wants to merge 1 commit into
mainfrom
feat/rules-cli-6.3.0

Conversation

@stooit

@stooit stooit commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Adds optional rules, api-token, api-base-url and rules-force inputs and moves the CLI to 6.3.0.

  • A quant rules --dry-run access/drift check runs before any upload, so a managed rule changed outside code stops the deploy before assets change.
  • Rules are applied after functions and assets.
  • The rules steps use the separate project-scoped portal token, never the content write token.
  • rules-force: true overwrites rules changed outside code; it never takes over a rule the manifest did not create.

Merge only after the quantcdn/cli:6.3.0 image exists (quantcdn/quant-cli#284 released). Workflows without rules are unchanged apart from the CLI version.

New inputs rules, api-token, api-base-url and rules-force. Rules access
(and drift) is checked with a dry run before any upload; rules are applied
after functions and assets. The rules step uses the separate project-scoped
portal token, never the content write token. rules-force overwrites rules
changed outside code and never takes over a rule the manifest did not
create.
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