From 48a655c25784f5e571185fa964e70e829d617c36 Mon Sep 17 00:00:00 2001 From: Rikuoh Date: Mon, 27 Nov 2023 16:53:17 +0900 Subject: [PATCH] Actions --- .forgejo/workflows/hugo.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .forgejo/workflows/hugo.yml diff --git a/.forgejo/workflows/hugo.yml b/.forgejo/workflows/hugo.yml new file mode 100644 index 0000000..2f61350 --- /dev/null +++ b/.forgejo/workflows/hugo.yml @@ -0,0 +1,25 @@ +clone: + git: + image: woodpeckerci/plugin-git + settings: + recursive: true + +steps: + build: + image: klakegg/hugo:ext-alpine + commands: + - hugo + deploy: + image: drillster/drone-rsync + secrets: [USER, HOTS, SSH, PORT] + settings: + hosts: + from_secret: HOST + user: + from_secret: USER + key: + from_secret: SSH + port: + from_secret: PORT + source: public + target: /var/www/html