diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..55aa0c2 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,30 @@ +name: Deploy MkDocs to GitHub Pages + +on: + push: + branches: + - main # 你的主分支名称 + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.x + + - name: Install dependencies + run: | + pip install mkdocs mkdocs-material mkdocs-awesome-pages-plugin mkdocstrings mkdocstrings-python mkdocs-i18n + + - name: Build site + run: mkdocs build + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./site \ No newline at end of file diff --git a/setup.py b/setup.py index ec1b188..465b0fc 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='torch-rechub', - version='0.0.2', + version='0.0.3', description='A Lighting Pytorch Framework for Recommendation System, Easy-to-use and Easy-to-extend.', long_description=long_description, long_description_content_type="text/markdown",