Update sample YAML in README [ci skip]

This commit is contained in:
Brad Rydzewski 2019-08-31 08:36:38 -07:00 committed by GitHub
parent f2db48597e
commit d221ed0b88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

37
.github/readme.md vendored
View file

@ -7,28 +7,33 @@ Drone is a Continuous Delivery system built on container technology. Drone uses
Sample Pipeline Configuration: Sample Pipeline Configuration:
```yaml ```yaml
pipeline: kind: pipeline
backend: name: default
image: golang
commands:
- go get
- go build
- go test
frontend: steps:
image: node:6 - name: backend
commands: image: golang
- npm install commands:
- npm test - go get
- go build
- go test
publish: - name: frontend
image: plugins/docker image: node:6
commands:
- npm install
- npm test
- name: publish
image: plugins/docker
settings:
repo: octocat/hello-world repo: octocat/hello-world
tags: [ 1, 1.1, latest ] tags: [ 1, 1.1, latest ]
registry: index.docker.io registry: index.docker.io
notify: - name: notify
image: plugins/slack image: plugins/slack
settings:
channel: developers channel: developers
username: drone username: drone
``` ```