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:
parent
13667c3390
commit
e1b9fd9b51
2
.github/workflows/mirror.yml
vendored
2
.github/workflows/mirror.yml
vendored
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user