Merge pull request #814 from inclusionAI/feat/llm_video_gen #380
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: AWorld docs deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pages: write | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: "3.10" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip==25.0.1 | |
| python -m pip install mkdocs mkdocs-material | |
| - name: Build and deploy | |
| working-directory: readme_assets | |
| run: | | |
| mv ../docs . | |
| python docs/outline.py | |
| mv index.md docs/ | |
| mkdocs build | |
| mkdocs gh-deploy --force |