Skip to content

Commit

Permalink
Testing git workflow for testing-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kirdatatjana committed Aug 30, 2024
1 parent 3d4e8b3 commit ce18476
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/testing-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ce18476

Please sign in to comment.