Skip to content

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ishan-surana authored Aug 23, 2024
1 parent cebd11f commit 9b168d1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,16 @@ jobs:
uses: actions/checkout@v4
- name: Install dependencies and build pages
run: |
mkdir temporary
cp docs/* temporary
mkdir docs/source
mv temporary/* docs/source
python -m pip install --upgrade pip
python -m pip install build sphinx sphinx-copybutton sphinx_design pydata-sphinx-theme myst_parser
cd docs
make html
sphinx-build docs html
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'docs/source'
path: 'docs/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 9b168d1

Please sign in to comment.