Skip to content

Commit

Permalink
deploy docs to gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBuchanan314 committed Feb 15, 2024
1 parent 1db83b8 commit e46210d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
python3 -m pip install sphinx sphinx-rtd-theme sphinxcontrib-jquery
- name: Install atmst python module
run: |
cd ${{ github.workspace }}
python3 -m pip install .
- name: Build the docs
run: |
Expand All @@ -28,4 +27,14 @@ jobs:
with:
name: html-docs
path: docs/_build/html/
- run: echo "This job's status is ${{ job.status }}."
- name: Push docs to gh pages
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: docs/_build/html/
destination-github-username: DavidBuchanan314
destination-repository-name: davidbuchanan314.github.io
target-directory: atmst/
user-email: [email protected]
target-branch: master

0 comments on commit e46210d

Please sign in to comment.