25 lines
518 B
YAML
25 lines
518 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: plugins/hugo
|
|
settings:
|
|
hugo_version: 0.97.0
|
|
extended: true
|
|
minify: true
|
|
pull: always
|
|
url: ericxliu.me
|
|
validate: false
|
|
- name: git-push
|
|
image: appleboy/drone-git-push
|
|
settings:
|
|
branch: gitea-pages
|
|
remote: ${DRONE_GIT_SSH_URL}
|
|
force: true
|
|
commit: true
|
|
commit_message: "Drone build ${DRONE_COMMIT_SHA:0:7}"
|
|
author_name: "Eric Liu"
|
|
author_email: "eric@ericxliu.me"
|
|
ssh_key:
|
|
from_secret: ssh_key |