Skip to content

Commit bd4618a

Browse files
authored
chore(workflow): avoid redundant push flags and keep credentials unchanged
1 parent d216852 commit bd4618a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎.github/workflows/generate_profile_workflow.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,10 @@ jobs:
8888
cd bioschemas.github.io
8989
git config user.name "albangaignard"
9090
git config user.email "alban.gaignard@univ-nantes.fr"
91-
git remote set-url origin https://x-access-token:${{ secrets.BS_GH_TOKEN }}@github.com/BioSchemas/bioschemas.github.io.git
9291
git status
9392
git add .
9493
git commit -m "Updating Profile"
95-
git push --set-upstream -u origin "$(git branch --show-current)"
94+
git push --set-upstream origin "$(git branch --show-current)"
9695
9796
- name: Create a pull request
9897
run: |

0 commit comments

Comments
 (0)