remove ssh
This commit is contained in:
@@ -18,12 +18,6 @@ check_app_update:
|
||||
image: debian:latest
|
||||
tags:
|
||||
- docker
|
||||
before_script:
|
||||
- apt-get update && apt-get install -y git ssh
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$GITHUB_SSH_KEY" | tr -d '\r' > ~/.ssh/id_rsa
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
- ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||
script:
|
||||
# Récupère le dernier commit distant
|
||||
- LATEST_REMOTE=$(git ls-remote $APP_REPO HEAD | awk '{print $1}')
|
||||
|
||||
Reference in New Issue
Block a user