summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorhyang <hyang@hyang.xyz>2023-08-27 12:19:47 -0700
committerhyang <hyang@hyang.xyz>2023-08-27 12:19:47 -0700
commit535300237f5e36c6ef596bef9ebf8e12778bc59e (patch)
treee810b08e94f930584fb65c607d2f41067ad2edba /.drone.yml
parenta4368c2f5753825f656c691c8876970077a6196c (diff)
update drone.yml
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml12
1 files changed, 9 insertions, 3 deletions
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