summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorhyang <hyang@hyang.xyz>2023-08-27 14:11:18 -0700
committerhyang <hyang@hyang.xyz>2023-08-27 14:11:24 -0700
commit05598336671e7ef5018e63c61bae4c84f8a2d933 (patch)
treee352e1c275c7bc0b944a73e925d761792ce758be /.drone.yml
parentd93892c35b16adf4512a224ff567668d18f3ba02 (diff)
Update drones.yml
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 65bec74..b21aa3b 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -21,7 +21,9 @@ steps:
- apt-get install git -y
- mkdir ~/.ssh
- echo "$GIT_PUB" > ~/.ssh/id_ed25519.pub
- - echo "$GIT_PUB" > ~/.ssh/id_ed25519
+ - echo "$GIT_SEC" > ~/.ssh/id_ed25519
+ - ssh-keygen -R git.hyang.xyz
+ - ssh-keyscan -t ed25519 git.hyang.xyz >> ~/.ssh/known_hosts
- cd public
- git init
- git add .