From d4f45518ebb7e23127a8d78494e453a73c998c0a Mon Sep 17 00:00:00 2001 From: eric Liu Date: Mon, 18 Sep 2023 02:17:59 +0000 Subject: [PATCH] Update .drone.yml --- .drone.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index ceed19a..15015d2 100644 --- a/.drone.yml +++ b/.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" @@ -27,4 +36,8 @@ steps: author_name: "Eric Liu" author_email: "eric@ericxliu.me" ssh_key: - from_secret: ssh_key \ No newline at end of file + from_secret: ssh_key +volumes: +- name: output + temp: + medium: memory \ No newline at end of file