2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

add second chance of fetch

This commit is contained in:
sidey79 2021-01-31 11:20:33 +01:00
parent 13667c3390
commit e1b9fd9b51

View File

@ -76,7 +76,7 @@ jobs:
echo "::set-output name=SVN_FETCH_STATUS::incomplete" echo "::set-output name=SVN_FETCH_STATUS::incomplete"
cd "${GITHUB_WORKSPACE}/src/fhem-mirror"; cd "${GITHUB_WORKSPACE}/src/fhem-mirror";
RET=0 RET=0
timeout 1200 git svn -q fetch || RET=$?; # Limit each run to 20 minutes to not overload fhem.de servers and build cache in chunks timeout 1200 git svn -q fetch || timeout 120 git svn -q fetch || RET=$?; # Limit each run to 20 minutes to not overload fhem.de servers and build cache in chunks
if [[ $RET == 0 ]]; then if [[ $RET == 0 ]]; then
git checkout -f "master" git checkout -f "master"
git rebase "remotes/svn/trunk" git rebase "remotes/svn/trunk"