mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Adding git remote origin to CI
This commit is contained in:
parent
3963f9bfbc
commit
35e5952081
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -219,9 +219,10 @@ jobs:
|
|||||||
- name: commit
|
- name: commit
|
||||||
run: |
|
run: |
|
||||||
# Stage the file, commit and push
|
# Stage the file, commit and push
|
||||||
|
git remote add origin https://github.com/oceanprotocol/ocean.js.git
|
||||||
BRANCH=${GITHUB_HEAD_REF#refs/heads/}
|
BRANCH=${GITHUB_HEAD_REF#refs/heads/}
|
||||||
echo ${BRANCH}
|
echo ${BRANCH}
|
||||||
git checkout ${BRANCH}
|
git checkout origin/${BRANCH}
|
||||||
git add CodeExamples.md
|
git add CodeExamples.md
|
||||||
git commit -m "Updating CodeExamples.md"
|
git commit -m "Updating CodeExamples.md"
|
||||||
git push
|
git push
|
Loading…
x
Reference in New Issue
Block a user