mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
Purposefully failing
This commit is contained in:
parent
d2babff311
commit
59bb9042a5
9
.github/workflows/autodocs.yml
vendored
9
.github/workflows/autodocs.yml
vendored
@ -23,13 +23,8 @@ jobs:
|
|||||||
output=$(text-generation-launcher --help)
|
output=$(text-generation-launcher --help)
|
||||||
{ echo '```'; echo $output; echo '```'; } > launcher_test.md
|
{ echo '```'; echo $output; echo '```'; } > launcher_test.md
|
||||||
if diff launcher_test.md docs/source/basic_tutorials/launcher.md; then
|
if diff launcher_test.md docs/source/basic_tutorials/launcher.md; then
|
||||||
rm docs/source/basic_tutorials/launcher.md
|
echo "Docs aren't updated, update them!"
|
||||||
{ echo '```'; echo $output; echo '```'; } > docs/source/basic_tutorials/launcher.md
|
exit 1
|
||||||
echo "$(cat docs/source/basic_tutorials/launcher.md)"
|
|
||||||
echo "Docs are updated!"
|
|
||||||
git add docs/source/basic_tutorials/launcher.md
|
|
||||||
git commit -m "Update launcher.md"
|
|
||||||
git push
|
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user