Merge pull request #77 from Palbahngmiyine/master #41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build SDK API References Documents | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Build | |
| run: | | |
| yarn install | |
| yarn run docs | |
| - name: Commit and push docs | |
| working-directory: ./ | |
| run: | | |
| git config --global user.email "robot@solapi.com" | |
| git config --global user.name "SOLAPI Robot" | |
| git add ./docs | |
| git commit -m "Update SDK API References" | |
| git push |