Skip to content

Commit 93435d8

Browse files
Merge pull request #724 from BioSchemas/copilot/fix-github-actions-job-generate-profile
Fix generate-profile CI push failure in website repo update step
2 parents fca63ab + bd4618a commit 93435d8

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

‎.github/workflows/generate_profile_workflow.yml‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,6 @@ jobs:
8282
run: |
8383
python ./.github/workflows/profile_generation_script.py ${{steps.changed-files.outputs.all_changed_files}} bioschemas.github.io
8484
85-
- name: Setup the Github TOKEN
86-
uses: oleksiyrudenko/gha-git-credentials@v2-latest
87-
with:
88-
path: bioschemas.github.io
89-
email: alban.gaignard@univ-nantes.fr
90-
name: albangaignard
91-
actor: albangaignard
92-
token: '${{secrets.BS_GH_TOKEN}}'
93-
9485
- name: Commit and Push the changes in the website
9586
run: |
9687
sleep 5
@@ -100,7 +91,7 @@ jobs:
10091
git status
10192
git add .
10293
git commit -m "Updating Profile"
103-
git push --set-upstream -u origin `date +%Y_%m_%d-%H_%M`
94+
git push --set-upstream origin "$(git branch --show-current)"
10495
10596
- name: Create a pull request
10697
run: |

0 commit comments

Comments
 (0)