CI: update pipeline for go module
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
b98c3d3416
commit
0740d066c4
18
.drone.yml
18
.drone.yml
@ -24,19 +24,11 @@ type: docker
|
|||||||
name: build & deploy
|
name: build & deploy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: submodules
|
|
||||||
image: alpine/git
|
|
||||||
commands:
|
|
||||||
- git submodule init
|
|
||||||
- git submodule update --recursive --remote
|
|
||||||
- ls themes/toha
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/hugo
|
image: betterweb/hugo
|
||||||
settings:
|
commands:
|
||||||
hugo_version: 0.82.0
|
- npm install
|
||||||
validate: true
|
- hugo
|
||||||
extended: true
|
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
@ -46,7 +38,7 @@ steps:
|
|||||||
source: public/*
|
source: public/*
|
||||||
user: drone-deploy
|
user: drone-deploy
|
||||||
key:
|
key:
|
||||||
from_secret: deploy_private_key
|
from_secret: dronePrivateKey
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user