From 35e59520816160717f5c716f10ef35a703a50b53 Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Wed, 18 May 2022 12:09:54 +0300 Subject: [PATCH] Adding git remote origin to CI --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2172a57e..525d31fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -219,9 +219,10 @@ jobs: - name: commit run: | # Stage the file, commit and push + git remote add origin https://github.com/oceanprotocol/ocean.js.git BRANCH=${GITHUB_HEAD_REF#refs/heads/} echo ${BRANCH} - git checkout ${BRANCH} + git checkout origin/${BRANCH} git add CodeExamples.md git commit -m "Updating CodeExamples.md" git push \ No newline at end of file