나는 문제가있어, 며칠 동안 연구하고 많은 조합과 방법을 시도했지만,이 문제를 파악할 수는 없습니다.Atlassian Stash and Dploy
Atlassian Stash를 자체 호스팅 된 git cental repo로 사용합니다. https://www.atlassian.com/software/stash
또한 Dploy를 사용하여 FTP를 통해 변경 사항을 배포합니다. ,
#!/bin/bash
# DPLOY
message=$(git log -1 --all --pretty=%B)
tag="#dploy"
if [[ "$message" = *"$tag"* ]]; then
servers=${tag}${message#*${tag}}
noTag=${servers//#/""}
eval $noTag
fi
내가 CLI에서 명시 적으로 dploy를 실행하면이 성공적으로 완료 실행 다음과 같이 http://leanmeanfightingmachine.github.io/dploy/
는 Dploy는 .git/후크/폴더에 자신의 포스트 커밋 후크를 만듭니다. 모든 것이 잘 작동합니다. 아래의 명령 :
그러나dploy dev
, 나는 다음과 같이 약속한다
그것은 걸리면commit -m "#dploy dev - Initial commit"
(실 거예요 모든 키보드 입력을 허용) 나는 그것을 밖으로 얻을 Ctrl + C에 있습니다.
[ Wed Jun 11 2014 11:58:29 macbook as chris @ ami] git commit -m "#dploy dev"
Connecting to dev...
Checking revisions...
Checking diffs between [4361308e87183d8dfaf556da3182dd1095f58486] > [dd70f1cf70957e9e672cd371499fb4183a9d8b3b]
Files that will be uploaded:
[ ? ] .rev > public_html/ami/.rev
[ ? ] test.txt > public_html/ami/test.txt
[ ? ] .rev > public_html/ami/.rev
– Are you sure you want to upload those files? (Y/n)
아마도 매우 구체적인 문제입니다. 경험이 있거나 해결 방법을 찾았습니까?
감사합니다, 크리스
dev에 의해 제공