Add Base 13.0.2 GPU EC2 image config for documentation (#5650) #66
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: Publish Documentations via GitHub Pages | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "**docs**" | |
| workflow_dispatch: | |
| concurrency: | |
| group: publish-docs-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout base branch | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 1 | |
| - name: Install dependencies | |
| run: pip install -r docs/requirements.txt | |
| - name: Deploy to GitHub Pages | |
| run: mkdocs gh-deploy --force |