Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq authored Jun 7, 2024
1 parent 720f7bb commit 1696e24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/surgepreview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ jobs:

- name: Build JupyterBook
run: |
jupyter-book build ./ --warningiserror --keep-going
jb build book
- name: Dump Build Logs
if: always()
run: |
if (test -a _build/html/reports/*log); then cat _build/html/reports/*log ; fi
if (test -a book/_build/html/reports/*log); then cat book/_build/html/reports/*log ; fi
- name: Install Surge.sh
uses: actions/setup-node@v4

- run: npm install -g surge

- run: surge ./_build/html {{env.PREVIEW_URL}} --token $SURGE_TOKEN
- run: surge .book/_build/html {{env.PREVIEW_URL}} --token $SURGE_TOKEN
env:
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}

Expand Down

0 comments on commit 1696e24

Please sign in to comment.