Skip to content

Commit 33aa36d

Browse files
author
Sebastian Guaqueta
committed
feat/ completing setting for devportal automation on readme
1 parent 81de426 commit 33aa36d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/devportal-update.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
paths:
66
- 'README.md'
77
branches:
8-
- devportalAutoImplem
8+
- main
99

1010
permissions: read-all
1111

@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
git clone https://github.com/rsksmart/devportal.git
2525
cd devportal
26-
git checkout -b update-from-btc-transaction-solidity-helper-test || git checkout update-from-btc-transaction-solidity-helper-test
26+
git checkout -b update-from-btc-transaction-solidity-helper || git checkout update-from-btc-transaction-solidity-helper
2727
cd ..
2828
2929
# Step 2: Transform Each File and Copy to Devportal Repository
@@ -66,7 +66,7 @@ jobs:
6666
git commit -m "Automated update from repository"
6767
# Configure the remote URL with the token for authentication
6868
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/rsksmart/devportal.git
69-
git push -f origin update-from-btc-transaction-solidity-helper-test
69+
git push -f origin update-from-btc-transaction-solidity-helper
7070
7171
# Step 4: Create a Pull Request in the Devportal Repository
7272
- name: Create Pull Request
@@ -78,4 +78,4 @@ jobs:
7878
-H "Authorization: Bearer ${{ secrets.DEVPORTAL_DOCS_UPDATE_TOKEN }}" \
7979
-H "X-GitHub-Api-Version: 2022-11-28" \
8080
https://api.github.com/repos/rsksmart/devportal/pulls \
81-
-d '{"title":"Btc-transaction-solidity-helper automated update of documentation","body":"This PR updates the Devportal documentation with the latest changes from the original repository.","head":"update-from-btc-transaction-solidity-helper-test","base":"main"}'
81+
-d '{"title":"Btc-transaction-solidity-helper automated update of documentation","body":"This PR updates the Devportal documentation with the latest changes from the original repository.","head":"update-from-btc-transaction-solidity-helper","base":"main"}'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,4 @@ Congratulations, we have successfully learnt how to use the Solidity Helper libr
175175
* Please refer to the Rootstock Contribution Guidelines for more information on how to contribute to this project.
176176

177177
## License:
178-
MIT License - Copyright (c) 2023 Rootstock
178+
MIT License - Copyright (c) 2023 Rootstock

0 commit comments

Comments
 (0)