Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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