Merge pull request 'fix: git clone 前清理残留的 /tmp/camtalk-deploy 目录' (#167) from develop into v2
Some checks failed
Deploy / deploy (push) Failing after 3m57s
Some checks failed
Deploy / deploy (push) Failing after 3m57s
Reviewed-on: http://8.161.227.145:3000/XEngineers/CamTalk/pulls/167
This commit was merged in pull request #167.
This commit is contained in:
@@ -17,6 +17,7 @@ jobs:
|
|||||||
git fetch "$GIT_URL" ${GITHUB_REF_NAME} --depth=1
|
git fetch "$GIT_URL" ${GITHUB_REF_NAME} --depth=1
|
||||||
git reset --hard FETCH_HEAD
|
git reset --hard FETCH_HEAD
|
||||||
else
|
else
|
||||||
|
rm -rf /tmp/camtalk-deploy
|
||||||
git clone --depth=1 --branch ${GITHUB_REF_NAME} \
|
git clone --depth=1 --branch ${GITHUB_REF_NAME} \
|
||||||
http://8.161.227.145:3000/XEngineers/CamTalk.git /tmp/camtalk-deploy
|
http://8.161.227.145:3000/XEngineers/CamTalk.git /tmp/camtalk-deploy
|
||||||
mkdir -p /root/camtalk
|
mkdir -p /root/camtalk
|
||||||
|
|||||||
Reference in New Issue
Block a user