mirror of
https://gitlab.com/vyla-entertainment/status.git
synced 2026-11-12 21:27:31 -05:00
Fix GitLab SSH deployment key
This commit is contained in:
@@ -10,7 +10,7 @@ deploy:
|
||||
before_script:
|
||||
- apk add --no-cache openssh-client
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_ed25519
|
||||
- echo "$SSH_PRIVATE_KEY_B64" | base64 -d > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- ssh-keyscan -H "$VPS_HOST" >> ~/.ssh/known_hosts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user