This commit is contained in:
parent
70a31d8485
commit
188f823c4a
@ -5,7 +5,7 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: plugins/hugo
|
image: plugins/hugo
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: output
|
||||||
path: /output
|
path: /output
|
||||||
settings:
|
settings:
|
||||||
hugo_version: 0.97.0
|
hugo_version: 0.97.0
|
||||||
@ -17,21 +17,21 @@ steps:
|
|||||||
- name: ls-file
|
- name: ls-file
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: output
|
||||||
path: /output
|
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:
|
volumes:
|
||||||
- name: cache
|
- name: output
|
||||||
path: /output
|
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"
|
||||||
force: true
|
force: true
|
||||||
commit: true
|
commit: true
|
||||||
path: "/tmp/output"
|
path: "/output"
|
||||||
commit_message: "Drone build ${DRONE_COMMIT_SHA:0:7}"
|
commit_message: "Drone build ${DRONE_COMMIT_SHA:0:7}"
|
||||||
author_name: "Eric Liu"
|
author_name: "Eric Liu"
|
||||||
author_email: "eric@ericxliu.me"
|
author_email: "eric@ericxliu.me"
|
||||||
|
Loading…
Reference in New Issue
Block a user