Merge pull request #3069 from appwrite/fix-build-triggers-docs-link

fix: add docs link to build triggers card for functions and sites
This commit is contained in:
Harsh Mahajan
2026-05-29 19:29:28 +05:30
committed by GitHub
2 changed files with 20 additions and 6 deletions
@@ -9,7 +9,8 @@
import { addNotification } from '$lib/stores/notifications';
import { sdk } from '$lib/stores/sdk';
import { type Models, Runtime, type Scopes } from '@appwrite.io/console';
import { Icon, Layout, Tooltip } from '@appwrite.io/pink-svelte';
import { Icon, Layout, Tooltip, Typography } from '@appwrite.io/pink-svelte';
import Link from '$lib/elements/link.svelte';
import { IconInfo } from '@appwrite.io/pink-icons-svelte';
export let func: Models.Function;
@@ -86,8 +87,14 @@
<Form onSubmit={update}>
<CardGrid>
<svelte:fragment slot="title">Build triggers</svelte:fragment>
Control which branch pushes and file changes trigger automatic deployments. Use glob patterns
to include or exclude specific branches and paths.
<Typography.Text>
Control which branch pushes and file changes trigger automatic deployments. Use glob
patterns to include or exclude specific branches and paths. <Link
external
href="https://appwrite.io/docs/products/functions/deploy-from-git#build-triggers"
>Learn more</Link
>.
</Typography.Text>
<svelte:fragment slot="aside">
<Layout.Stack gap="xl">
<Layout.Stack gap="s">
@@ -9,7 +9,8 @@
import { addNotification } from '$lib/stores/notifications';
import { sdk } from '$lib/stores/sdk';
import { Adapter, BuildRuntime, Framework, type Models } from '@appwrite.io/console';
import { Icon, Layout, Tooltip } from '@appwrite.io/pink-svelte';
import { Icon, Layout, Tooltip, Typography } from '@appwrite.io/pink-svelte';
import Link from '$lib/elements/link.svelte';
import { IconInfo } from '@appwrite.io/pink-icons-svelte';
export let site: Models.Site;
@@ -84,8 +85,14 @@
<Form onSubmit={update}>
<CardGrid>
<svelte:fragment slot="title">Build triggers</svelte:fragment>
Control which branch pushes and file changes trigger automatic deployments. Use glob patterns
to include or exclude specific branches and paths.
<Typography.Text>
Control which branch pushes and file changes trigger automatic deployments. Use glob
patterns to include or exclude specific branches and paths. <Link
external
href="https://appwrite.io/docs/products/sites/deploy-from-git#build-triggers"
>Learn more</Link
>.
</Typography.Text>
<svelte:fragment slot="aside">
<Layout.Stack gap="xl">
<Layout.Stack gap="s">