Skip to main content

deploy-site

Deploys the Torrust website to GitHub Pages. Use when asked to deploy, publish, or release the site, or to set up the deployment workflow.

来源信息

仓库
torrust/torrust-website
最近来源活动
2026年2月25日 18:49
检测到的 SKILL.md 语言
英语
星标
5
Forks
6

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
deploy-site
description
Deploys the Torrust website to GitHub Pages. Use when asked to deploy, publish, or release the site, or to set up the deployment workflow.
# Deploy Site ## When to use this skill Use this skill when asked to deploy the Torrust website to production (GitHub Pages). ## Automatic deployment (recommended) Deployment is triggered automatically when you push to the `develop` branch: 1. The `.github/workflows/deploy.yml` workflow runs 2. Installs dependencies and runs `npm run build` 3. Creates a `.nojekyll` file in `build/` 4. Uploads the build artifact and deploys to GitHub Pages The live site is available at <https://torrust.com/>. ## Manual deployment ```bash npm run build && npm run deploy ``` ## Requirements - GitHub Pages must be enabled in the repository settings - A `CNAME` file must exist at the repo root for the custom domain - The workflow requires `pages: write` and `id-token: write` permissions ## Verify the deployment After deploying, check <https://torrust.com/> to confirm the changes are live.
在 GitHub 查看