diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cc715aa..8616e3f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,9 +14,8 @@ jobs: deploy: name: Deploy to GitHub Pages runs-on: ubuntu-latest - defaults: - run: - working-directory: ./cllm-website/ + env: + working-directory: ./cllm-website/ steps: - uses: actions/checkout@v4 with: @@ -29,11 +28,12 @@ jobs: - 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