@@ -22,5 +22,6 @@ pipeline:
|
|||||||
commands:
|
commands:
|
||||||
- mkdir -p ~/.ssh/
|
- mkdir -p ~/.ssh/
|
||||||
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
||||||
|
- chmod 0700 ~/.ssh/
|
||||||
- chmod 0600 ~/.ssh/id_rsa
|
- chmod 0600 ~/.ssh/id_rsa
|
||||||
- bash deploy.sh
|
- bash deploy.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user