TLS encore
This commit is contained in:
@@ -16,6 +16,12 @@ variables:
|
|||||||
check_app_update:
|
check_app_update:
|
||||||
stage: check
|
stage: check
|
||||||
image: debian:latest
|
image: debian:latest
|
||||||
|
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:
|
script:
|
||||||
# Récupère le dernier commit distant
|
# Récupère le dernier commit distant
|
||||||
- LATEST_REMOTE=$(git ls-remote $APP_REPO HEAD | awk '{print $1}')
|
- LATEST_REMOTE=$(git ls-remote $APP_REPO HEAD | awk '{print $1}')
|
||||||
|
|||||||
Reference in New Issue
Block a user