зеркало из https://github.com/go-gitea/lgtm-docs.git
setup docs yaml
This commit is contained in:
Родитель
838ed891a9
Коммит
b4a3eeae7a
27
.drone.yml
27
.drone.yml
|
@ -1,18 +1,13 @@
|
||||||
build:
|
pipeline:
|
||||||
image: golang:1.5
|
build:
|
||||||
environment:
|
image: jojomi/hugo
|
||||||
- HUGO=0.15_linux_amd64
|
commands: hugo
|
||||||
commands:
|
|
||||||
- curl -L -o /tmp/hugo_$HUGO.tar.gz https://github.com/spf13/hugo/releases/download/v0.15/hugo_$HUGO.tar.gz
|
|
||||||
- tar xvf /tmp/hugo_$HUGO.tar.gz -C /tmp/
|
|
||||||
- mv /tmp/hugo_$HUGO/hugo_$HUGO /usr/bin/hugo
|
|
||||||
- hugo
|
|
||||||
|
|
||||||
deploy:
|
docker:
|
||||||
rsync:
|
image: docker
|
||||||
source: public/
|
repo: lgtm/docs
|
||||||
target: /var/www/docs
|
tag: [1.0.0, latest]
|
||||||
recursive: true
|
when:
|
||||||
delete: true
|
branch: master
|
||||||
host: lgtm.co
|
event: push
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogam9qb21pL2h1Z28KICAgIGNvbW1hbmRzOiBodWdvCgogIGRvY2tlcjoKICAgIGltYWdlOiBkb2NrZXIKICAgIHJlcG86IGxndG0vZG9jcwogICAgdGFnOiBbMS4wLjAsIGxhdGVzdF0KICAgIHdoZW46CiAgICAgIGJyYW5jaDogbWFzdGVyCiAgICAgIGV2ZW50OiBwdXNoCgo.HRNkr4TDog6qLymBDW3DX8Mld5M4mTtDpCDCZRjEmd4
|
Загрузка…
Ссылка в новой задаче