{#if !$enterpriseLicense} Deploy to staging/prod from the web UI is only available with an enterprise license {:else if notSet == true} As an admin, go to Settings {'->'} Workspace {'->'} Deployment UI {:else} Share this link to have another properly permissioned user do the deployment

Destination Workspace  Workspace to deploy to is set in the workspace settings

{#if workspaceToDeployTo} { canDeployToWorkspace = canDeploy }} /> {/if} {#if canSeeTarget == undefined}
{:else if canSeeTarget == 'yes'}

All related deployable items

true} {allSelected} onToggleItem={toggleItem} onSelectAll={selectAll} onDeselectAll={deselectAll} emptyMessage="No deployable items found" > {#snippet itemActions(item)} {@const statusPath = item.key} {@const exists = allAlreadyExists[statusPath]} {@const status = deploymentStatus[statusPath]} {@const targetValue = targetOnBehalfOfInfo[statusPath]} {#if itemNeedsOnBehalfOfSelection(statusPath, item.kind)} { onBehalfOfChoice[statusPath] = choice if (details) customOnBehalfOf[statusPath] = details }} kind={item.kind} canPreserve={canPreserveOnBehalfOf} customValue={customOnBehalfOf[statusPath]?.permissionedAs} /> {/if} {#if item.kind === 'raw_app'} Raw {/if} {#if exists === false} {#if item.include} New This {item.kind} doesn't exist yet on the target and will be created by the deployment {:else} Missing {#if item.kind == 'resource_type'} Resource types are not re-deployed by default. We strongly recommend to add shared resource types in 'admin' workspace, which will have them be shared to every workspace. {:else} This {item.kind} doesn't exist and is not included in the deployment. Variables and Resources are considered to be workspace specific and are never included by default. {/if} {/if} {:else if exists === true && !status} {/if} {#if !status} {/if} {/snippet} {#snippet footer()}
{#if !hideButton} {/if} {#if hasUnselectedOnBehalfOf} {#if kind === 'trigger'} You must set the "permissioned as" user for all triggers before deploying The "permissioned as" field defines which user's permissions will be applied when the trigger fires. Make sure this is set appropriately before deploying. {:else} You must set the "on behalf of" user for all items before deploying The "run on behalf of" field defines which user's permissions will be applied during execution. Make sure this is set to an appropriate user before deploying. {/if} {/if}
{/snippet}
{:else if canSeeTarget == 'cant-see-all-deps'}
You do not have visibility over some of the dependencies of this item. Ask a permissioned user to deploy this item using the shareable link or get the proper permissions on the dependencies {:else}
Ask a permissioned user to deploy this item using the shareable link or get the proper permissions on the target workspace {/if} {/if}