github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/examples/component-actions/README.md (about) 1 import ExampleYAML from '@site/src/components/ExampleYAML'; 2 3 # Component Actions 4 5 :::note 6 7 Component Actions have replaced Component Scripts. Jackal will still read `scripts` entries, but will convert them to `actions`. Component Scripts will be removed in a future release. Please update your package configurations to use Component Actions instead. 8 9 ::: 10 11 This example demonstrates how to define actions within your package that can run either on `jackal package create`, `jackal package deploy` or `jackal package remove`. These actions will be executed with the context that the Jackal binary is executed with. 12 13 For more details on component actions, see the [component actions](../../docs/3-create-a-jackal-package/7-component-actions.md) documentation. 14 15 ## `jackal.yaml` {#jackal.yaml} 16 17 :::info 18 19 To view the example in its entirety, select the `Edit this page` link below the article and select the parent folder. 20 21 ::: 22 23 <ExampleYAML src={require('./jackal.yaml')} showLink={false} />