This commit is contained in:
@@ -14,8 +14,8 @@ steps:
|
||||
commands:
|
||||
#- pandoc --standalone --output=index.html --metadata title="SMT Readme" -t html5 README.md
|
||||
# From https://gitlab.com/vimalkvn/pandoc-mvp-css
|
||||
- pandoc -s README.md --toc --toc-depth=2 -c css/mvp.css --template template.html -o index.html
|
||||
- cp index.html /shared/index.html
|
||||
- pandoc -s README.md --toc --toc-depth=2 -c www/mvp.css --template template.html -o ./www/index.html -metadata title="SMT Readme"
|
||||
- cp ./www/index.html /shared/index.html
|
||||
|
||||
- name: build
|
||||
image: golang
|
||||
@@ -23,7 +23,7 @@ steps:
|
||||
- name: shared
|
||||
path: /shared
|
||||
commands:
|
||||
- cp /shared/index.html .
|
||||
- cp /shared/index.html ./www/
|
||||
- sh ./.drone.sh
|
||||
|
||||
# Copy binary to test server
|
||||
|
Reference in New Issue
Block a user