This commit is contained in:
parent
a8a7a6130f
commit
7f65ec0ed3
10
.drone.yml
10
.drone.yml
@ -19,20 +19,20 @@ steps:
|
||||
from_secret: GPG_PASSPHRASE
|
||||
SSH_KEY:
|
||||
from_secret: SSH_KEY
|
||||
SSH_CONFIG:
|
||||
from_secret: SSH_CONFIG
|
||||
# SSH_CONFIG:
|
||||
# from_secret: SSH_CONFIG
|
||||
commands:
|
||||
- eval $(ssh-agent -s)
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod 700 ~/.ssh
|
||||
- echo "$SSH_KEY" >> ~/.ssh/id_rsa
|
||||
- echo "$SSH_CONFIG" >> ~/.ssh/config
|
||||
# - echo "$SSH_KEY" >> ~/.ssh/id_rsa
|
||||
# - echo "$SSH_CONFIG" >> ~/.ssh/config
|
||||
- echo "$SSH_KEY" | ssh-add -
|
||||
- ssh-keyscan -p 222 git.struchkov.dev >> ~/.ssh/known_hosts
|
||||
- echo "test" >> test.txt
|
||||
- git add --all
|
||||
- git commit -m test
|
||||
- git remote add deploy ssh://git@public-git/Godfather-Bots/godfather.git
|
||||
- git remote add deploy ssh://git@git.struchkov.dev:222/Godfather-Bots/godfather.git
|
||||
- git remote -v
|
||||
- git push deploy HEAD:master
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user