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:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/hugo
|
image: plugins/hugo
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /output
|
||||||
settings:
|
settings:
|
||||||
hugo_version: 0.97.0
|
hugo_version: 0.97.0
|
||||||
extended: true
|
extended: true
|
||||||
@ -13,10 +16,16 @@ steps:
|
|||||||
output: "/tmp/output"
|
output: "/tmp/output"
|
||||||
- name: ls-file
|
- name: ls-file
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /output
|
||||||
commands:
|
commands:
|
||||||
- ls -al /output
|
- ls -al /output
|
||||||
- name: git-push
|
- name: git-push
|
||||||
image: appleboy/drone-git-push:0.2.0-linux-amd64
|
image: appleboy/drone-git-push:0.2.0-linux-amd64
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /output
|
||||||
settings:
|
settings:
|
||||||
branch: gitea-pages
|
branch: gitea-pages
|
||||||
remote: "git@git.ericxliu.me:eric/ericxliu-me.git"
|
remote: "git@git.ericxliu.me:eric/ericxliu-me.git"
|
||||||
@ -28,3 +37,7 @@ steps:
|
|||||||
author_email: "eric@ericxliu.me"
|
author_email: "eric@ericxliu.me"
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
|
volumes:
|
||||||
|
- name: output
|
||||||
|
temp:
|
||||||
|
medium: memory
|
Loading…
Reference in New Issue
Block a user