Skip to content

Commit ec95ebb

Browse files
Update documentation.yml
1 parent 23ed77d commit ec95ebb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/documentation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,12 @@ jobs:
5454
run: |
5555
git config --global user.email "[email protected]"
5656
git config --global user.name "robot"
57-
git switch -c documentation
5857
git add ${workflow_project_dir}/*.pdf
5958
git commit -m "Add design file PDFs to repo [skip ci]"
59+
git fetch
60+
git checkout documentation
61+
git merge main
62+
git push origin documentation
6063
gh pr create --head documentation --base main --title "Add design file PDFs to repo" --body "Automated PR from GHA"
6164
6265
- name: Archive artifacts

0 commit comments

Comments
 (0)