You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
949 B
YAML
60 lines
949 B
YAML
kind: pipeline
|
|
type: kubernetes
|
|
name: Hugo Only
|
|
|
|
steps:
|
|
|
|
- name: submodules
|
|
image: bitnami/git:latest
|
|
commands:
|
|
- git submodule update --init --recursive
|
|
|
|
- name: hugo
|
|
image: plugins/hugo
|
|
settings:
|
|
validate: true
|
|
hugo_version: 0.92.0
|
|
extended: true
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
|
|
---
|
|
kind: pipeline
|
|
type: kubernetes
|
|
name: Deploy
|
|
|
|
steps:
|
|
|
|
- name: submodules
|
|
image: bitnami/git:latest
|
|
commands:
|
|
- git submodule update --init --recursive
|
|
|
|
- name: hugo
|
|
image: plugins/hugo
|
|
settings:
|
|
validate: true
|
|
hugo_version: 0.88.1
|
|
extended: true
|
|
|
|
- name: deploy
|
|
image: drillster/drone-rsync
|
|
settings:
|
|
hosts:
|
|
- "10.0.100.5"
|
|
target: /volume
|
|
source: public/*
|
|
user: snowball77
|
|
recursive: true
|
|
port: "22"
|
|
args: "-v"
|
|
secrets: [rsync_key]
|
|
key:
|
|
from_secret: rsync_key
|
|
|
|
trigger:
|
|
ref:
|
|
- refs/tags/v*
|