This jack is responsible for loading pallets from both GitHub and GitHub Enterprise installations. Note that it can dynamically detect github enterprise servers by their support of the GitHub API, allowing it to recognize them as appropriate warehouses without configuration.
In order to allow pallets from github to install scripts, and cleanup after themselves this jack will automatically run the following scripts, when they are found in the .forklift directory inside a pallet:
post-importwill be run from the root of the pallet, after the import is completepre-updatewill be run from the root of the pallet, before any updatepost-updatewill be run from the root of the pallet, after an update is successfulpre-deletewill be run from the root of the pallet, before deleting the palletpost-deletewill be run in a random directory, from a temporary script without access to the contents of the pallet (obviously), after the pallet has been deleted
Please see the scripts documentation for more about the environment variables available to scripts.