Skip to content

Commit

Permalink
Create update_pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
limafang authored Oct 30, 2023
1 parent 284fa2a commit 5988318
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/update_pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy to Github Pages
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- run: pip install sphinx
- run: pip install sphinx-book-theme
- run: pip install myst-nb
- run: pip install matplotlib
- run: make clean
- run: make html
- run: cp -rf build/html/* docs/

0 comments on commit 5988318

Please sign in to comment.