Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified src/assets/staging_patches_change_track_dropdown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/staging_patches_patch_context_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/content/docs/code-push/guides/staging-patches.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import { CodeTabs, LinkCard } from 'starlight-theme-nova/components';
import { Image } from 'astro:assets';
import goLive from '~/assets/staging_patches_change_track_dropdown.png';
import switchTrack from '~/assets/staging_patches_patch_context_menu.png';
import ArcadeEmbed from '~/components/ArcadeEmbed.astro';

<ArcadeEmbed
src="https://app.arcade.software/share/n22dgnzUR0qwvjNciQ2i"
title="Pushing a patch to staging track"
/>

This guide will walk you through how to validate a patch in Shorebird's staging
environment before promoting the patch to production.
Expand Down
6 changes: 6 additions & 0 deletions src/content/docs/code-push/tracks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ sidebar:
---

import { CodeTabs, LinkCard } from 'starlight-theme-nova/components';
import ArcadeEmbed from '~/components/ArcadeEmbed.astro';

**Tracks** are named deployment channels that control which devices receive a
patch. Every Shorebird app has a built-in `stable` track, which is the default
Expand Down Expand Up @@ -51,6 +52,11 @@ for your team.

## Publishing a patch to a track

<ArcadeEmbed
src="https://app.arcade.software/share/n22dgnzUR0qwvjNciQ2i"
title="Pushing a patch to staging track"
/>

Pass the `--track` flag to any `shorebird patch` command. If you omit the flag,
the patch is published to `stable` by default.

Expand Down
Loading