fix action

This commit is contained in:
Carlos Polop 2025-04-13 17:12:06 +02:00
parent 5cb7817293
commit 2fb41c9c6d
17 changed files with 68 additions and 34 deletions

View File

@ -44,8 +44,10 @@ jobs:
git config --global user.email "build@example.com"
git config --global user.name "Build master"
git config pull.rebase false
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -71,8 +71,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push

View File

@ -72,8 +72,10 @@ jobs:
run: |
git checkout $BRANCH
git pull
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
if [ -f "book/searchindex.js" ];
cp book/searchindex.js searchindex.js
cp book/searchindex.json searchindex.json
fi
git add searchindex.js searchindex.json
git commit -m "Update searchindex for $BRANCH"
git push