Skip to content

Commit

Permalink
Fix GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
jnywong committed Feb 2, 2024
1 parent b17522c commit 926903c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ on:

# This job installs dependencies, builds the book, and pushes it to `gh-pages`
jobs:
deploy-book:
build-and-deploy-book:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Install dependencies
- name: Set up Python 3.11
Expand Down Expand Up @@ -64,5 +64,7 @@ jobs:

# Deploy the book's HTML to GitHub Pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/html

0 comments on commit 926903c

Please sign in to comment.