Skip to content

Commit

Permalink
Merge pull request #67 from rsksmart/tuningAutoDevPortal
Browse files Browse the repository at this point in the history
feat/ adding remove img tag on pr creation
  • Loading branch information
SebasGuaquetaRSK authored Dec 13, 2024
2 parents 854992e + b43e989 commit 33e6fbc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/devportal-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
run: |
mkdir -p transformed
# Remove the unwanted <img> tag from README.md
sed '/<img src="img\/rootstock-logo.png" alt="RSK Logo" style="width:100%; height: auto;" \/>/d' README.md > temp_README.md
# Process README.md
echo "---" > transformed/README.md
echo "sidebar_label: Bitcoin Transaction Solidity Helper Library" >> transformed/README.md
Expand All @@ -44,7 +47,11 @@ jobs:
echo "If you wish to suggest changes on this document, please open a PR on the [Bitcoin Transaction Solidity Helper](https://github.com/rsksmart/btc-transaction-solidity-helper.git)" >> transformed/README.md
echo ":::" >> transformed/README.md
echo "" >> transformed/README.md
cat README.md >> transformed/README.md
cat temp_README.md >> transformed/README.md
# Clean up temporary file
rm temp_README.md
cp transformed/README.md devportal/docs/02-developers/08-libraries/bitcoin-tx-solidity-helper.md
# Step 3: Commit and Push Changes to Devportal Repository
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ Congratulations, we have successfully learnt how to use the Solidity Helper libr
* Please refer to the Rootstock Contribution Guidelines for more information on how to contribute to this project.

## License:
MIT License - Copyright (c) 2023 Rootstock
MIT License - Copyright (c) 2023 Rootstock

0 comments on commit 33e6fbc

Please sign in to comment.