Este contenido no está disponible en el idioma seleccionado.

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.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat