Skip to content

Commit

Permalink
Merge pull request #14 from rsksmart/devportalAutoImplem
Browse files Browse the repository at this point in the history
feat/ adding setting for omitting image and tags from readme to Dev Portal
  • Loading branch information
ezequiel-rodriguez authored Dec 13, 2024
2 parents 8e67b46 + 47bdbd3 commit 90e3513
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/devportal-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
run: |
mkdir -p transformed
# Remove the unwanted lines from README.md (first 3 lines in this case)
tail -n +4 README.md > temp_README.md
# Process README.md
echo "---" > transformed/README.md
echo "sidebar_label: Foundry" >> transformed/README.md
Expand All @@ -42,7 +45,7 @@ jobs:
echo "If you wish to suggest changes on this document, please open a PR on the [Foundry Starter Kit Repository](https://github.com/rsksmart/rootstock-foundry-starterkit.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
cp transformed/README.md devportal/docs/02-developers/04-quickstart/foundry.md
# Step 3: Commit and Push Changes to Devportal Repository
Expand All @@ -69,4 +72,4 @@ jobs:
-H "Authorization: Bearer ${{ secrets.DEVPORTAL_DOCS_UPDATE_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/rsksmart/devportal/pulls \
-d '{"title":"Automated update of documentation","body":"This PR updates the Devportal documentation with the latest changes from the original repository.","head":"update-from-foundry-starter","base":"main"}'
-d '{"title":"rootstock-foundry-starterkit automated update of documentation","body":"This PR updates the Devportal documentation with the latest changes from the original repository.","head":"update-from-foundry-starter","base":"main"}'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/rsksmart/rootstock-foundry-starterkit/badge)](https://scorecard.dev/viewer/?uri=github.com/rsksmart/rootstock-foundry-starterkit)
[![CodeQL](https://github.com/rsksmart/rskj/workflows/CodeQL/badge.svg)](https://github.com/rsksmart/rootstock-foundry-starterkit/actions?query=workflow%3ACodeQL)
<img src="img/rootstock-logo.png" alt="RSK Logo" style="width:100%; height: auto;" />
<img src="img/rootstock-docs.png" alt="RSK Logo" style="width:100%; height: auto;" />

# Rootstock Foundry Starter Kit

Expand Down
Binary file added img/rootstock-docs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 90e3513

Please sign in to comment.