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
آخر نشاط في المصدر
٢٥ فبراير ٢٠٢٦ في ١٨:٤٩
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٥
التفرعات
٦

خيارات التثبيت

يُحدَّد 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