https://github.com/krisrang/dokku-prebuild
Dokku plugin that allows to run external scripts before build
https://github.com/krisrang/dokku-prebuild
Last synced: over 1 year ago
JSON representation
Dokku plugin that allows to run external scripts before build
- Host: GitHub
- URL: https://github.com/krisrang/dokku-prebuild
- Owner: krisrang
- License: mit
- Created: 2015-04-25T18:30:02.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-25T19:11:40.000Z (about 11 years ago)
- Last Synced: 2025-01-27T22:37:32.968Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
dokku-prebuild [](https://travis-ci.org/krisrang/dokku-prebuild)
================
dokku-prebuild is a plugin for [dokku][dokku] that allows you to run allows you to run external scripts before build during deploy.
This version is tested against dokku 0.3.17.
## Installation
```
git clone https://github.com/krisrang/dokku-prebuild /var/lib/dokku/plugins/prebuild
```
## Commands
```
$ dokku help
prebuild Show contents of prebuild script for
prebuild:set < Set script to run before build for
prebuild:delete Delete prebuild script for
```
## Usage
### Set prebuild script:
```
$ dokku prebuild:set testapp < example.sh # Server side
$ ssh dokku@server prebuild:set testapp < example.sh # Client side
```
### Remove prebuild script:
```
$ dokku prebuild:delete testapp # Server side
$ ssh dokku@server prebuild:delete testapp # Client side
```
### Show prebuild script:
```
$ dokku prebuild testapp # Server side
$ ssh dokku@server prebuild testapp # Client side
```
## License
This plugin is released under the MIT license. See the file [LICENSE](LICENSE).
[dokku]: https://github.com/progrium/dokku