1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
ocean.js/scripts/updateDocs.sh
2023-05-02 18:19:59 +01:00

10 lines
262 B
Bash
Executable File

# Create updated documentation
npm run docs
# Stage the file, commit and push
git status
git add ./docs
git commit -m "Updating documentation"
branch=${GITHUB_HEAD_REF#refs/heads/}
echo Pushing changes to branch: ${branch}
git push origin HEAD:${branch} --force