-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing git workflow for testing-docs
- Loading branch information
1 parent
3d4e8b3
commit ce18476
Showing
1 changed file
with
1 addition
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,6 @@ jobs: | |
cp scripts/test_doc/test_documentation.md generated_file.md | ||
if ! diff -q generated_file.md committed_file.md; then | ||
echo "Documentation for integration tests is out of date. Updating and pushing changes..." | ||
cp generated_file.md scripts/test_doc/test_documentation.md | ||
git config user.name "github-actions" | ||
git config user.email "[email protected]" | ||
git add scripts/test_doc/test_documentation.md | ||
git commit -m "Update testing documentation" | ||
git push origin HEAD | ||
echo "Documentation updated and pushed." | ||
echo "Branch name is: ${GITHUB_REF#refs/heads/}" | ||
exit 1 | ||
fi |