From 159c4439f0a4779657322d1a2f659966d027e26c Mon Sep 17 00:00:00 2001 From: Nick Art <100365428+NicK4rT@users.noreply.github.com> Date: Sat, 23 Nov 2024 14:30:41 -0500 Subject: [PATCH] Update render-README.yml --- .github/workflows/render-README.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/render-README.yml b/.github/workflows/render-README.yml index 6abe60e..50c5c92 100644 --- a/.github/workflows/render-README.yml +++ b/.github/workflows/render-README.yml @@ -3,7 +3,7 @@ name: Render README.qmd to Markdown on: push: branches: - - dev/nick + - stage jobs: render: @@ -41,8 +41,10 @@ jobs: git add . git commit -m "Render README.qmd files to Markdown [skip ci]" || echo "No changes to commit" - # Set up authentication for git push + git fetch origin + git checkout stage || git checkout -b stage + git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - git push origin main + git push origin stage