summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorhyang <hyang@hyang.xyz>2023-08-27 12:32:32 -0700
committerhyang <hyang@hyang.xyz>2023-08-27 12:32:32 -0700
commitae0d24d5d11d740fa52032c4eecd60d47154ad32 (patch)
tree652a74e58002de165a606900d0cff469ca0b7f01 /.drone.yml
parent94c89c650103c6d78dfb3e10a49f739bc09e0ffc (diff)
update
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index a7e6981..2dca914 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -19,5 +19,11 @@ steps:
commands:
- apt-get update
- apt-get install git -y
- - ls
+ - mkdir ~/.ssh
+ - echo "$GIT_PUB" > ~/.ssh/id_ed25519.pub
+ - echo "$GIT_PUB" > ~/.ssh/id_ed25519
+ - git init
+ - git commit -m 'comit'
+ - git remote add origin git@hyang.xyz:hyang/pages.git
+ - git push -f origin