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
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule init
|
||||
- git submodule update --recursive --remote
|
||||
- ls themes/toha
|
||||
|
||||
- name: build
|
||||
image: plugins/hugo
|
||||
settings:
|
||||
hugo_version: 0.82.0
|
||||
validate: true
|
||||
extended: true
|
||||
image: betterweb/hugo
|
||||
commands:
|
||||
- npm install
|
||||
- hugo
|
||||
|
||||
- name: deploy
|
||||
image: drillster/drone-rsync
|
||||
@ -46,7 +38,7 @@ steps:
|
||||
source: public/*
|
||||
user: drone-deploy
|
||||
key:
|
||||
from_secret: deploy_private_key
|
||||
from_secret: dronePrivateKey
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
Loading…
Reference in New Issue
Block a user