diff --git a/.github/workflows/devportal-update.yml b/.github/workflows/devportal-update.yml index a65f39f..51d00cc 100644 --- a/.github/workflows/devportal-update.yml +++ b/.github/workflows/devportal-update.yml @@ -31,6 +31,9 @@ jobs: run: | mkdir -p transformed + # Remove the unwanted tag from README.md + sed '/RSK Logo/d' README.md > temp_README.md + # Process README.md echo "---" > transformed/README.md echo "sidebar_label: Bitcoin Transaction Solidity Helper Library" >> transformed/README.md @@ -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 diff --git a/README.md b/README.md index ee9aec2..c60356f 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file