From 25488cff5b283e5e3353270436e01bb0f6f0c713 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Mon, 27 Nov 2023 11:40:37 -0800 Subject: [PATCH] Try git remote set-url --- .github/workflows/publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 918e1dac..0b4aaa3b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -84,8 +84,7 @@ jobs: run: | git config --global user.name 'VA Automation Bot' git config --global user.email 'va-mobileapp@adhocteam.us' - git config user.name - git config user.email + git remote set-url origin "https://va-mobile-automation-robot:${{secrets.VA_MOBILE_ROBOT_GITHUB_PAT}}@github.com/department-of-veterans-affairs/va-mobile-library" git pull git add package.json git commit -m 'Version bump: ${{ steps.bump-version.outputs.GIT_TAG }}'