Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chhzh123 committed Mar 4, 2024
1 parent ea946b3 commit 11d71c0
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/sphinx_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,11 @@ jobs:
- name: Install rsync
run: |
apt-get update && apt-get install -y rsync
- run: touch docs/build/html/.nojekyll
- name: Deploy docs
uses: JamesIves/github-pages-deploy-action@releases/v3
if: github.event_name == 'push'
with:
ACCESS_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/build/html
- run: touch docs/build/html/.nojekyll
- name: Deploy docs to website
uses: cpina/github-action-push-to-another-repository@main
if: github.event_name == 'push'
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: 'docs/build/html'
destination-github-username: 'chhzh123'
destination-repository-name: 'allo-docs'
user-email: [email protected]
target-branch: gh-pages
target-directory: ""

0 comments on commit 11d71c0

Please sign in to comment.