From 535300237f5e36c6ef596bef9ebf8e12778bc59e Mon Sep 17 00:00:00 2001 From: hyang Date: Sun, 27 Aug 2023 12:19:47 -0700 Subject: update drone.yml --- .drone.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to '.drone.yml') diff --git a/.drone.yml b/.drone.yml index 4e26d9f..3c4a2f0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,8 +9,14 @@ steps: HUGO_ENVIRONMENT: production HUGO_ENV: production -- name: deploy - image: nginx +- name: push + image: debian:bookworm-slim + environment: + GIT_PUB: + from_secret: GIT_SSH_PUBLIC + GIT_SEC: + from_secret: GIT_SSH_PRIVATE commands: - - mv public /usr/share/nginx/html + - apt-get install git -y + - ls -- cgit v1.2.3