diff options
-rw-r--r-- | .drone.yml | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |