此内容没有您所选择的语言版本。

13.4.3. Build and Deployment Action Hooks


The list of action hooks for build and deployment are:
  • pre-build
  • build
  • deploy
  • post-deploy
Create a new file in the App_Name/.openshift/action_hooks directory to use the build and deployment action hooks. For example, to use an action hook during the application build phase, create the file App_Name/.openshift/action_hooks/build, edit it and add the following to the file's contents:

Example 13.1. Adding an Action Hook to the Build Process

echo Downloading my.zip...
curl -o $OPENSHIFT_DATA_DIR/my.zip 
http://myserver/my.zip
Copy to Clipboard Toggle word wrap
The file is downloaded during the git push process.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat