Merge pull request #167 from MSameerAbbas/main #97
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
| on: [push] | |
| jobs: | |
| build_docs_job: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.6] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Dependencies | |
| run: | | |
| sudo apt-get install -y yarn | |
| id: build | |
| - name: Build the Website | |
| run: | | |
| cd docs | |
| yarn | |
| npm run build | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@releases/v3 | |
| with: | |
| ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BRANCH: gh-pages # The branch the action should deploy to. | |
| FOLDER: docs/build # The folder the action should deploy. |