Skip to content

Commit

Permalink
docs(readme): update example (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrynhard authored Jul 22, 2017
1 parent 9383d3e commit daa39f3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
1 change: 1 addition & 0 deletions .conform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ policies:
- "git"
- "metadata"
- "policy"
- "readme"
- "renderer"
- "*"

Expand Down
30 changes: 19 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,36 @@ The key features of Conform are:

Getting Started
---------------
Create a file named `conform.yaml` with the following contents:
Create a file named `.conform.yaml` with the following contents:
```yaml
metadata:
repository: example
repository: hello/world

policies:
- type: conventionalCommit
spec:
types:
- "type"
scopes:
- "scope"
- type: branch
spec:
name: master
pipelines:
- name: example
pipelines:
example:
stages:
- example

script:
template: |
#!/bin/bash
echo "Hello, world!"
pipeline:
stages:
- example

stages:
example:
tasks:
- task

tasks:
task:
template: |
FROM scratch
```
Expand Down

0 comments on commit daa39f3

Please sign in to comment.