From 1ed340cd86f22f098f2269e21e21e9c813e79717 Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Wed, 18 May 2022 13:46:08 +0300 Subject: [PATCH] Updating push command --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 800f5a2a..393d3d93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -221,4 +221,6 @@ jobs: git status git add CodeExamples.md git commit -m "Updating CodeExamples.md" - git push \ No newline at end of file + branch=${GITHUB_HEAD_REF#refs/heads/} + echo Pushing changes to branch: ${branch} + git push origin HEAD:${branch} \ No newline at end of file