Update documentation.yml
This commit is contained in:
5
.github/workflows/documentation.yml
vendored
5
.github/workflows/documentation.yml
vendored
@@ -54,9 +54,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global user.email "robot@mateijordache.info"
|
git config --global user.email "robot@mateijordache.info"
|
||||||
git config --global user.name "robot"
|
git config --global user.name "robot"
|
||||||
git switch -c documentation
|
|
||||||
git add ${workflow_project_dir}/*.pdf
|
git add ${workflow_project_dir}/*.pdf
|
||||||
git commit -m "Add design file PDFs to repo [skip ci]"
|
git commit -m "Add design file PDFs to repo [skip ci]"
|
||||||
|
git fetch
|
||||||
|
git checkout documentation
|
||||||
|
git merge main
|
||||||
|
git push origin documentation
|
||||||
gh pr create --head documentation --base main --title "Add design file PDFs to repo" --body "Automated PR from GHA"
|
gh pr create --head documentation --base main --title "Add design file PDFs to repo" --body "Automated PR from GHA"
|
||||||
|
|
||||||
- name: Archive artifacts
|
- name: Archive artifacts
|
||||||
|
|||||||
Reference in New Issue
Block a user