Update .drone.yml
Some checks reported errors
continuous-integration/drone Build encountered an error

This commit is contained in:
Eric X. Liu 2023-09-18 02:17:59 +00:00
parent 2843ab8363
commit d4f45518eb

View File

@ -4,6 +4,9 @@ name: default
steps:
- name: build
image: plugins/hugo
volumes:
- name: cache
path: /output
settings:
hugo_version: 0.97.0
extended: true
@ -13,10 +16,16 @@ steps:
output: "/tmp/output"
- name: ls-file
image: alpine/git
volumes:
- name: cache
path: /output
commands:
- ls -al /output
- name: git-push
image: appleboy/drone-git-push:0.2.0-linux-amd64
volumes:
- name: cache
path: /output
settings:
branch: gitea-pages
remote: "git@git.ericxliu.me:eric/ericxliu-me.git"
@ -27,4 +36,8 @@ steps:
author_name: "Eric Liu"
author_email: "eric@ericxliu.me"
ssh_key:
from_secret: ssh_key
from_secret: ssh_key
volumes:
- name: output
temp:
medium: memory