Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/ adding setting for omitting image and tags from readme to Dev Portal #14

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading