This commit is contained in:
10
.drone.yml
10
.drone.yml
@@ -8,12 +8,20 @@ name: default
|
|||||||
steps:
|
steps:
|
||||||
- name: markdown
|
- name: markdown
|
||||||
image: pandoc/core
|
image: pandoc/core
|
||||||
|
volumes:
|
||||||
|
- name: shared
|
||||||
|
path: /shared
|
||||||
commands:
|
commands:
|
||||||
- pandoc --standalone --output=index.html README.md
|
- pandoc --standalone --output=index.html --metadata title="SMT Readme" README.md
|
||||||
|
- cp index.html /shared/index.html
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: golang
|
image: golang
|
||||||
|
volumes:
|
||||||
|
- name: shared
|
||||||
|
path: /shared
|
||||||
commands:
|
commands:
|
||||||
|
- cp /shared/index.html .
|
||||||
- sh ./.drone.sh
|
- sh ./.drone.sh
|
||||||
|
|
||||||
# Copy binary to test server
|
# Copy binary to test server
|
||||||
|
Reference in New Issue
Block a user