Skip to content

Commit

Permalink
test correct name in script
Browse files Browse the repository at this point in the history
  • Loading branch information
SebasGuaquetaRSK committed Dec 18, 2024
1 parent a340d8a commit c2d1f97
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/devportal-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,19 @@ jobs:
echo ${TRANSFORMED_FILE}
# Remove the unwanted first lines from section (title)
tail -n +1 docs/integrate.md > ${TEMP_FILE}
echo "---" > ${TRANSFORMED_FILE}
echo "sidebar_label: Integrations" >> ${TRANSFORMED_FILE}
echo "sidebar_position: 200" >> ${TRANSFORMED_FILE}
echo "title: RIF Relay Integration >> ${TRANSFORMED_FILE}
echo "description: 'Integrating RIF Relay in a dApp.'" >> ${TRANSFORMED_FILE}
echo "tags: [rif, envelope, relay, integration guide]" >> ${TRANSFORMED_FILE}
echo "---" >> ${TRANSFORMED_FILE}
echo "" >> ${TRANSFORMED_FILE}
cat ${TEMP_FILE} >> ${TRANSFORMED_FILE}
tail -n +1 docs/integrate.md > temp_integrate.md
echo "---" > transformed/integrate.md
echo "sidebar_label: Integrations" >> transformed/integrate.md
echo "sidebar_position: 200" >> transformed/integrate.md
echo "title: RIF Relay Integration >> transformed/integrate.md
echo "description: 'Integrating RIF Relay in a dApp.'" >> transformed/integrate.md
echo "tags: [rif, envelope, relay, integration guide]" >> transformed/integrate.md
echo "---" >> transformed/integrate.md
echo "" >> transformed/integrate.md
cat temp_integrate.md >> transformed/integrate.md
# Clean up temporary file
rm ${TEMP_FILE}
cp ${TRANSFORMED_FILE} devportal/docs/02-developers/06-integrate/01-rif-relay/integrate.md
rm temp_integrate.md
cp transformed/integrate.md devportal/docs/02-developers/06-integrate/01-rif-relay/integrate.md
# # Process setup section
# TEMP_FILE="temp_installation-requirements.md"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ Each module has instructions for development and usage.
* 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
2 changes: 2 additions & 0 deletions docs/integrate.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,3 +290,5 @@ To implement and use your own replenish strategy:
2. On the function `replenishStrategy` write your new replenish strategy.
3. Re build the project `npm run build`
4. Change the config JSON file to set `customReplenish` on true.

test

0 comments on commit c2d1f97

Please sign in to comment.