From ec95ebb91d8006f136fd6b03164eaa5e3d2c2907 Mon Sep 17 00:00:00 2001 From: matei jordache Date: Tue, 5 Mar 2024 17:04:04 -0500 Subject: [PATCH] Update documentation.yml --- .github/workflows/documentation.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 958d9fc..61ffd30 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -54,9 +54,12 @@ jobs: run: | git config --global user.email "robot@mateijordache.info" git config --global user.name "robot" - git switch -c documentation git add ${workflow_project_dir}/*.pdf 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" - name: Archive artifacts