ericxliu-me/.drone.yml

30 lines
660 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
2023-08-27 04:14:46 +00:00
url: ericxliu.me
2023-08-27 03:51:04 +00:00
validate: false
2023-09-18 00:26:12 +00:00
output: "/tmp/output"
2023-09-18 01:50:41 +00:00
- name: ls-file
image: alpine/git
commands:
2023-09-18 02:06:51 +00:00
- ls -al /output
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
2023-09-18 00:26:12 +00:00
path: "/tmp/output"
2023-08-27 04:14:46 +00:00
commit_message: "Drone build ${DRONE_COMMIT_SHA:0:7}"
author_name: "Eric Liu"
author_email: "eric@ericxliu.me"
ssh_key:
from_secret: ssh_key