Skip to content

Commit

Permalink
Update docs and pipeline (erikengervall#135)
Browse files Browse the repository at this point in the history
* Run pipeline on PRs

* Amend docs for dockestService.commands
  • Loading branch information
erikengervall authored Feb 3, 2020
1 parent feeff5f commit 2765b1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Node.js CI
# tags refs/tags/v0.0.1
# master refs/heads/master

on: [push]
on: [push, pull_request]

jobs:
####### Print: Prints some context relating to the job to make future debugging easier
Expand Down
4 changes: 3 additions & 1 deletion docs/api_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,14 @@ Default: `-`

Service name that matches the corresponding service in your Compose file

### `dockestService.commands` [string[]]
### `dockestService.commands` [(string | function)[] => string[]]

Default: `[]`

Bash scripts that will run once the service is ready. E.g. database migrations.

Can either be a string, or a function that generates a string. The function is fed the container id of the service.

### `dockestService.dependents` [DockestService[]]

Default: `[]`
Expand Down

0 comments on commit 2765b1f

Please sign in to comment.