Update .drone.yml
Some checks reported errors
continuous-integration/drone Build encountered an error
Some checks reported errors
continuous-integration/drone Build encountered an error
This commit is contained in:
parent
2843ab8363
commit
d4f45518eb
13
.drone.yml
13
.drone.yml
@ -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"
|
||||
@ -28,3 +37,7 @@ steps:
|
||||
author_email: "eric@ericxliu.me"
|
||||
ssh_key:
|
||||
from_secret: ssh_key
|
||||
volumes:
|
||||
- name: output
|
||||
temp:
|
||||
medium: memory
|
Loading…
Reference in New Issue
Block a user