Skip to content

Commit

Permalink
refactor: Update GitHub Pages deployment workflow and fix build step …
Browse files Browse the repository at this point in the history
…order
  • Loading branch information
jyzhao committed Jul 11, 2024
1 parent e4fc9e8 commit 90c800a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-to-github-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest

env:
GH_TOKEN: ${{ github.token }}
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
Expand All @@ -18,5 +19,6 @@ jobs:

- name: Install & build
run: |
gh auth login
npm i
npm run deploy

0 comments on commit 90c800a

Please sign in to comment.