Skip to content

Bump the pip group with 16 updates #560

Bump the pip group with 16 updates

Bump the pip group with 16 updates #560

Workflow file for this run

name: Docs
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'scripts/**'
- 'torchts/**'
- 'website/**'
- 'poetry.lock'
pull_request:
branches:
- main
paths:
- 'docs/**'
- 'scripts/**'
- 'torchts/**'
- 'website/**'
- 'poetry.lock'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up TorchTS
uses: ./.github/actions/setup-torchts
with:
python-version: 3.9
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 14
- name: Build Sphinx documentation
run: scripts/build_docs.sh
- name: Build Docusaurus website
run: |
cd website
npm install
npm run build
- name: Generate token
if: success() && github.event_name == 'push'
id: generate-token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Deploy documentation
if: success() && github.event_name == 'push'
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ steps.generate-token.outputs.token }}
git-config-name: torchts-bot[bot]
git-config-email: 88511308+torchts-bot[bot]@users.noreply.github.com
branch: gh-pages
folder: website/build
clean: true
clean-exclude: |
README.md