+
+
+
+ This will deploy your tasks to the {environmentFullTitle(environment)} environment. Read
+ the full guide.
+
+
+
+
+
+
+ Read the GitHub Actions guide to
+ get started.
+
+
+
+
+ This page will automatically refresh when your tasks are deployed.
+
+
+
);
}
diff --git a/apps/webapp/app/components/SetupCommands.tsx b/apps/webapp/app/components/SetupCommands.tsx
index e68273a0db..accb2f65a8 100644
--- a/apps/webapp/app/components/SetupCommands.tsx
+++ b/apps/webapp/app/components/SetupCommands.tsx
@@ -208,3 +208,64 @@ export function TriggerLoginStepV3({ title }: TabsProps) {
);
}
+
+export function TriggerDeployStep({ title, environment }: TabsProps & { environment: { type: string } }) {
+ const triggerCliTag = useTriggerCliTag();
+ const { activePackageManager, setActivePackageManager } = usePackageManager();
+
+ // Generate the environment flag based on environment type
+ const getEnvironmentFlag = () => {
+ switch (environment.type) {
+ case "STAGING":
+ return " --env staging";
+ case "PREVIEW":
+ return " --env preview";
+ case "PRODUCTION":
+ default:
+ return "";
+ }
+ };
+
+ const environmentFlag = getEnvironmentFlag();
+
+ return (
+
+