更新.gitlab-ci.yml文件

This commit is contained in:
Administrator
2023-11-11 08:52:18 +00:00
parent 7475f9cd3b
commit aabce29211
+1
View File
@@ -7,6 +7,7 @@ before_script:
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
deploy_job:
stage: deploy