diff options
author | hyang <hyang@hyang.xyz> | 2023-08-27 12:19:47 -0700 |
---|---|---|
committer | hyang <hyang@hyang.xyz> | 2023-08-27 12:19:47 -0700 |
commit | 535300237f5e36c6ef596bef9ebf8e12778bc59e (patch) | |
tree | e810b08e94f930584fb65c607d2f41067ad2edba /.drone.yml | |
parent | a4368c2f5753825f656c691c8876970077a6196c (diff) |
update drone.yml
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 |