mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Getting the CI to commit to a new branch
This commit is contained in:
parent
f137ff1898
commit
608d64c259
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -220,8 +220,10 @@ jobs:
|
||||
run: |
|
||||
# Stage the file, commit and push
|
||||
git status
|
||||
branch=${GITHUB_HEAD_REF#refs/heads/}
|
||||
git checkout -b ${branch}
|
||||
git status
|
||||
git add CodeExamples.md
|
||||
git commit -m "Updating CodeExamples.md" --untracked-files=no
|
||||
branch=${GITHUB_HEAD_REF#refs/heads/}
|
||||
echo Pushing changes to branch: ${branch}
|
||||
git push origin HEAD:${branch} --force > /dev/null 2>&1
|
||||
|
Loading…
x
Reference in New Issue
Block a user