feat: add plugin trigger for checking if an app has code

This will allow us to short-circuit build processes that would otherwise be triggered due to various commands in Dokku.
This commit is contained in:
Jose Diaz-Gonzalez
2022-04-03 13:20:50 -04:00
parent 68c0d7e964
commit 1b6861cdbb
3 changed files with 48 additions and 0 deletions

View File

@@ -774,6 +774,20 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
# TODO
```
### `git-has-code`
- Description: Checks to see if there is code at the specified branch
- Arguments: `$APP $BRANCH_NAME`
- Example:
```shell
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
# TODO
```
### `git-post-pull`
- Description: