{#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 {'->'} Dev workspace, to pair this workspace with a prod workspace on this instance or point it at a workspace on another instance {:else} Share this link to have another properly permissioned user do the deployment

Destination  Where this workspace deploys is set in the workspace settings

{#if parentWorkspace && remoteTarget} (destination = v as Destination)} noWFull > {#snippet children({ item })} {/snippet} {:else} {/if} {#if isRemote && remoteTarget}
{/if} {#if workspaceToDeployTo} { canDeployToWorkspace = canDeploy }} /> {/if} {#if workspaceToDeployTo == undefined} {:else 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 if isRemote}

{targetError ?? 'The remote instance did not accept the request'}

Disconnect above and connect again with a valid token for that instance, or ask someone permissioned there to deploy this item using the shareable link

{:else}
Ask a permissioned user to deploy this item using the shareable link or get the proper permissions on the target workspace {/if} {/if}