ericxliu-me/.drone.yml

25 lines
518 B
YAML
Raw Normal View History

2023-08-27 03:26:41 +00:00
kind: pipeline
name: default
steps:
- name: build
image: plugins/hugo
settings:
2023-08-27 03:51:04 +00:00
hugo_version: 0.97.0
extended: true
minify: true
pull: always
2023-08-27 04:14:46 +00:00
url: ericxliu.me
2023-08-27 03:51:04 +00:00
validate: false
2023-08-27 04:14:46 +00:00
- 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