mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-18 08:22:33 +02:00
Add ip to known hosts
This commit is contained in:
parent
81f6230d4d
commit
e933e0a50a
@ -53,7 +53,9 @@ release_job:
|
||||
- python3 Tools/create_sha512.py
|
||||
# 2. Connect and handle the folder
|
||||
- echo "Managing remote folder"
|
||||
- apt-get update && apt-get install -y sshpass ssh
|
||||
- apt update
|
||||
- apt install -y sshpass ssh
|
||||
- ssh-keyscan 91.204.46.10 >> ~/.ssh/known_hosts
|
||||
- sshpass -p $GETSP_PASSWORD ssh $GETSP_USERNAME@91.204.46.10 "rm -rf /getsp.de/$CI_COMMIT_TAG; mkdir /getsp.de/$CI_COMMIT_TAG;"
|
||||
# 3. Upload files to the remote folder
|
||||
- echo "Uploading files"
|
||||
|
Loading…
Reference in New Issue
Block a user