docs: update README example usage

write more clear and specify that needs actions/checkout

ref #1
This commit is contained in:
isbang 2020-11-28 02:31:53 +09:00
parent 8df5a46582
commit 24f65477e7

View File

@ -10,6 +10,11 @@ This action runs your docker-compose file and clean up before action finished.
## Example usage ## Example usage
uses: isbang/compose-action@v0.1 ```yaml
with: steps:
compose-file: './docker-compose.yml' # need checkout before using compose-action
- uses: actions/checkout@v2
- uses: isbang/compose-action@v0.1
with:
compose-file: './docker/docker-compose.yml'
```