Skip to content

Commit

Permalink
temporary push to run docs build with legacy source
Browse files Browse the repository at this point in the history
  • Loading branch information
yunchu committed Apr 19, 2023
1 parent 7cad257 commit 5bdcff3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/github_pages.yml
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch: # run on request (no need for PR)
push:
branches:
- releases/1.1.0
- temp_build_legacy_docs

jobs:
deploy:
Expand Down Expand Up @@ -48,12 +48,13 @@ jobs:
pip install -r requirements.txt
pip install 'click<8.1' git+https://github.com/pytorch-ignite/sphinxcontrib-versioning.git@a1a1a94ca80a0233f0df3eaf9876812484901e76
pip install -e '.[default,tf,tfds]'
sphinx-versioning -l site/source/conf.py build -r develop -w develop site/source site/static/api
sphinx-versioning -l site/source/conf.py build -r v1.1.1 -w develop site/source site/static/api
python site/build_docs.py
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
destination_dir: releases/1.1.0
force_orphan: true

0 comments on commit 5bdcff3

Please sign in to comment.