Skip to content

Commit 7124813

Browse files
Update remote URL for Git operations in workflow
1 parent 6bb11b6 commit 7124813

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/generate_profile_workflow.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,15 @@ jobs:
111111
run: |
112112
sleep 30
113113
cd bioschemas.github.io
114+
git remote set-url origin https://x-access-token:$GITHUB_TOKEN@github.com/BioSchemas/bioschemas.github.io.git
114115
gh pr create --title "Auto-Rendering Profile" --body "This pull request has been created by a guithub action, after adding/updating a profile in the specifications repo."
115116
116117
- name: Commit and Push the changes in the DDE repository
117118
env:
118119
GITHUB_TOKEN: ${{ secrets.BS_GH_TOKEN }}
119120
run: |
120121
cd bioschemas-dde
122+
git remote set-url origin https://x-access-token:$GITHUB_TOKEN@github.com/BioSchemas/bioschemas.github.io.git
121123
git config user.name "github-actions[bot]"
122124
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
123125
git status

0 commit comments

Comments
 (0)