CI: update pipeline for go module
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2023-08-25 16:35:03 +02:00
parent b98c3d3416
commit 0740d066c4

View File

@ -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