Compare commits
2 Commits
be2332d370
...
10a07b322a
Author | SHA1 | Date | |
---|---|---|---|
10a07b322a | |||
a92893e63f |
@ -19,17 +19,20 @@ steps:
|
|||||||
from_secret: GPG_PASSPHRASE
|
from_secret: GPG_PASSPHRASE
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: SSH_KEY
|
from_secret: SSH_KEY
|
||||||
|
SSH_CONFIG:
|
||||||
|
from_secret: SSH_CONFIG
|
||||||
commands:
|
commands:
|
||||||
- echo "test" >> text.txt
|
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
|
- echo "$SSH_KEY" >> ~/.ssh/id_rsa
|
||||||
|
- echo "$SSH_CONFIG" >> ~/.ssh/config
|
||||||
- echo "$SSH_KEY" | ssh-add -
|
- echo "$SSH_KEY" | ssh-add -
|
||||||
- ls -la ~/.ssh
|
- ls -la ~/.ssh
|
||||||
- echo "test" >> test.txt
|
- echo "test" >> test.txt
|
||||||
- git add --all
|
- git add --all
|
||||||
- git commit -m test
|
- git commit -m test
|
||||||
- git remote add deploy ssh://git@git.struchkov.dev:222/Godfather-Bots/godfather.git
|
- git remote add deploy ssh://git@public-git/Godfather-Bots/godfather.git
|
||||||
- git remote -v
|
- git remote -v
|
||||||
- git push deploy HEAD:master
|
- git push deploy HEAD:master
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user