mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-11 15:13:06 +08:00
docs: update README example usage
write more clear and specify that needs actions/checkout ref #1
This commit is contained in:
parent
8df5a46582
commit
24f65477e7
@ -10,6 +10,11 @@ This action runs your docker-compose file and clean up before action finished.
|
||||
|
||||
## Example usage
|
||||
|
||||
uses: isbang/compose-action@v0.1
|
||||
```yaml
|
||||
steps:
|
||||
# need checkout before using compose-action
|
||||
- uses: actions/checkout@v2
|
||||
- uses: isbang/compose-action@v0.1
|
||||
with:
|
||||
compose-file: './docker-compose.yml'
|
||||
compose-file: './docker/docker-compose.yml'
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user