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
|
2023-09-11 02:40:22 +00:00
|
|
|
image: appleboy/drone-git-push:0.2.0-linux-amd64
|
2023-08-27 04:14:46 +00:00
|
|
|
settings:
|
|
|
|
branch: gitea-pages
|
2023-09-11 02:37:00 +00:00
|
|
|
remote: "git@git.ericxliu.me:eric/ericxliu-me.git"
|
2023-08-27 04:14:46 +00:00
|
|
|
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
|