deploy

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Deploy

部署

Execute deployment following this sequence:
按照以下顺序执行部署:

Pre-deployment Checks

部署前检查

  1. Verify tests pass:
    {{TEST_COMMAND}}
  2. Check for uncommitted changes:
    git status
  1. 验证测试通过:
    {{TEST_COMMAND}}
  2. 检查未提交的更改:
    git status

Build

构建

  1. Build the application:
    {{BUILD_COMMAND}}
  2. Verify build output exists
  1. 构建应用程序:
    {{BUILD_COMMAND}}
  2. 验证构建输出是否存在

Deploy

部署

  1. {{DEPLOY_STEP_1}}
  2. {{DEPLOY_STEP_2}}
  1. {{DEPLOY_STEP_1}}
  2. {{DEPLOY_STEP_2}}

Post-deployment

部署后

  1. Verify site is accessible
  2. Run smoke tests if available
  1. 验证站点是否可访问
  2. 如有可用运行冒烟测试

Rollback

回滚

If deployment fails:
  1. {{ROLLBACK_STEP_1}}
  2. {{ROLLBACK_STEP_2}}
如果部署失败:
  1. {{ROLLBACK_STEP_1}}
  2. {{ROLLBACK_STEP_2}}