Commit 1b63d3a2 authored by Wenhao Xie's avatar Wenhao Xie Committed by GitHub
Browse files

[Doc] Update GitHub Actions workflow for documentation deployment and add CNAME file. (#33)

* [Doc] Use sphinx to generate docs.

* [Doc] Fix a bug on tlcpack_sphinx_addon.

* [Doc] Fix linting issues.

* [Doc] Create a workflow to host docs using GitHub Pages.

* [Doc] Remove all deprecated docs.

* [Doc] Update GitHub Actions workflow for documentation deployment and add CNAME file.

* [CI] Remove conditional check for GitHub Pages deployment on main branch.
parent 7959d786
name: documentation
on: [push, pull_request, workflow_dispatch]
on:
pull_request:
types:
- closed
permissions:
contents: write
jobs:
docs:
if: ${{ github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' }}
runs-on: ubuntu-latest
defaults:
run:
......@@ -20,9 +24,9 @@ jobs:
- name: Sphinx build
run: |
make html
cp CNAME _build/html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
......
tilelang.tile-ai.cn
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment