← 返回
开发者工具 Key 中文

Sigmaflow Deploy

Deploy the SigmaFlow SvelteKit trading frontend to the Git repository. Use when building and deploying changes to the SigmaFlow application, including after...
部署SigmaFlow SvelteKit交易前端至Git仓库。用于构建和部署SigmaFlow应用变更,包括……
sirenday
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 633
下载
💾 6
安装
1
版本
#latest

概述

SigmaFlow Deploy

Overview

Automates deployment of the SigmaFlow trading frontend to the GitLab repository at http://git.homelab:3000/vitali/SigmaFlow-Svelte. This skill handles the full deployment workflow: repository management, dependency installation, SvelteKit production build, and pushing to the remote repository.

Quick Start

Basic Deployment

# Deploy to main branch (default)
scripts/deploy.sh

# Deploy to specific branch
scripts/deploy.sh ./SigmaFlow-Svelte main

# Use custom repo directory
scripts/deploy.sh /path/to/repo dev

When to Run

  • After completing a feature implementation (charts, orders, portfolio)
  • After bug fixes or code changes
  • Before testing in production environment
  • As part of CI/CD pipeline integration

Deployment Workflow

The deployment script performs these steps:

  1. Clone/Update Repository: Clones from GitLab if needed, or updates existing clone
  2. Install Dependencies: Runs npm install if node_modules doesn't exist
  3. Build Application: Runs npm run build to create production bundle
  4. Commit Changes: Stages all changes with timestamped commit message
  5. Push to Remote: Pushes to specified branch (default: main)

Repository Credentials

The script uses embedded credentials:

  • URL: http://git.homelab:3000/vitali/SigmaFlow-Svelte.git
  • Token: c865b793f09a3b79b65ebdfbd75c5b17395188d2

Security Note: These credentials are stored in the script. For production environments, consider environment variables or secret management.

Parameters

The deploy script accepts optional parameters:

  • $1 (optional): Repository directory path (default: ./SigmaFlow-Svelte)
  • $2 (optional): Branch name to push (default: main)

Output

On success, the script displays:

  • [INFO] messages for each step
  • Final success message with deployment confirmation
  • Application URL (configure based on hosting setup)

On no changes:

  • [WARN] indicating no changes to commit
  • Graceful exit (no git push)

Troubleshooting

Build fails: Check SvelteKit configuration and fix errors, then re-run deploy

Authentication error: Verify token is valid and has write access to repository

Push rejected: Pull latest changes, resolve conflicts, then deploy again

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-20 06:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,473
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,927
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,530