Настройка CICD
This commit is contained in:
parent
be2332d370
commit
a92893e63f
@ -19,11 +19,14 @@ steps:
|
||||
from_secret: GPG_PASSPHRASE
|
||||
SSH_KEY:
|
||||
from_secret: SSH_KEY
|
||||
SSH_CONFIG:
|
||||
from_secret: SSH_CONFIG
|
||||
commands:
|
||||
- echo "test" >> text.txt
|
||||
- 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-add -
|
||||
- ls -la ~/.ssh
|
||||
- echo "test" >> test.txt
|
||||
|
Loading…
Reference in New Issue
Block a user