Skip to content

Commit

Permalink
Fix GitHub Page Deployment Error (#42)
Browse files Browse the repository at this point in the history
* Update deploy.yml

* Update deploy.yml
  • Loading branch information
ykdy3951 authored Mar 22, 2024
1 parent 09bc85b commit c4d18bc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
env:
working-directory: ./cllm-website/
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -22,14 +24,16 @@ jobs:
with:
node-version: 18
cache: npm
cache-dependency-path: './cllm-website/package-lock.json'

- name: Install dependencies
run: |
npm --prefix ./cllm-website install --frozen-lockfile
npm install --frozen-lockfile
working-directory: ${{ env.working-directory }}
- name: Build website
run: |
npm --prefix ./cllm-website run build
npm run build
working-directory: ${{ env.working-directory }}
# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
- name: Deploy to GitHub Pages
Expand Down

0 comments on commit c4d18bc

Please sign in to comment.