Skip to content

Commit

Permalink
Purposefully failing
Browse files Browse the repository at this point in the history
  • Loading branch information
merveenoyan authored Sep 22, 2023
1 parent 4873ad4 commit 1c66c45
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/autodocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,8 @@ jobs:
output=$(text-generation-launcher --help)
{ echo '```'; echo $output; echo '```'; } > launcher_test.md
if diff launcher_test.md docs/source/basic_tutorials/launcher.md; then
rm docs/source/basic_tutorials/launcher.md
{ echo '```'; echo $output; echo '```'; } > docs/source/basic_tutorials/launcher.md
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
echo "Docs aren't updated, update them!"
exit 1
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1c66c45

Please sign in to comment.