Update mirror.yml

This commit is contained in:
sidey79 2022-09-04 00:53:54 +02:00 committed by GitHub
parent f5cda14ce4
commit c112f9cdf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ on:
workflow_dispatch:
schedule:
- cron: '21 */2 * * *' # every second hour to keep cache up to date
- cron: '21 */1 * * *' # every hour to keep cache up to date
jobs:
# This workflow contains a single job called "build"
@ -91,7 +91,7 @@ jobs:
echo "::set-output name=SVN_FETCH_STATUS::incomplete"
cd "${GITHUB_WORKSPACE}/src/fhem-mirror";
RET=0
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
timeout 1200 git svn -q --log-window-size=5000 fetch || timeout 120 git svn -q --log-window-size=5000 fetch || RET=$?; # Limit each run to 20 minutes to not overload fhem.de servers and build cache in chunks
if [[ $RET == 0 ]]; then
git branch -f master
git checkout master