一键导入
deployment-management
Guidelines for triggering and managing deployments using GitHub Actions and local scripts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidelines for triggering and managing deployments using GitHub Actions and local scripts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
General code style, development workflow, and build/quality tools for nhl-recap.
Guidelines for git usage and commit messages in nhl-recap.
Guidelines for API integration, environment variables, mocking, and utilities in nhl-recap.
Guidelines for documentation standards and project-specific README files in nhl-recap.
Guidelines for Service Worker and PWA functionality in nhl-recap.
Guidelines for creating and modifying UI components and styles in nhl-recap.
| name | deployment-management |
| description | Guidelines for triggering and managing deployments using GitHub Actions and local scripts. |
This skill provides instructions for deploying the nhl-recap application to GitHub Pages.
Deployments are managed via the Deployment workflow (deployment.yml). This is the standard way to deploy and ensures all checks pass in a clean environment.
Triggering the workflow:
Use the GitHub CLI (gh) to trigger the workflow from the master branch:
gh workflow run Deployment --ref master
Authentication: Ensure the CLI is authenticated. Check status with:
gh auth status
If not authenticated or the token is invalid, ask the user to run gh auth login.
Monitoring progress: View the status of the triggered run:
gh run list --workflow Deployment --limit 1
Watch a running workflow:
gh run watch
A local script is available for emergency or manual deployments that bypass the remote CI environment (though it still runs a build).
npm run deploy
This script:
gh-pages branch.origin gh-pages.Always run all project checks before triggering a deployment:
npm run check