Skip to content

Commit

Permalink
fix step 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ivegabr committed Nov 27, 2024
1 parent f5e78b9 commit 14aeb2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/devportal-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,16 @@ jobs:
# Step 3: Commit and Push Changes to Devportal Repository
- name: Commit and Push Changes
env:
GITHUB_TOKEN: ${{ secrets.DEVPORTAL_DOCS_UPDATE_TOKEN }}
run: |
cd devportal
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add docs/02-developers/04-quickstart/foundry.md
git commit -m "Automated update from repository"
# Configure the remote URL with the token for authentication
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/rsksmart/devportal.git
git push -f origin update-from-foundry-starter
# Step 4: Create a Pull Request in the Devportal Repository
Expand Down

0 comments on commit 14aeb2a

Please sign in to comment.