Skip to content

Commit

Permalink
ci: use npm
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcheng1982 committed Apr 15, 2024
1 parent 829efd0 commit 7155b3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
cache: npm

- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm install
working-directory: website
- name: Build website
run: yarn build
run: npm run build
working-directory: website

- name: Upload Build Artifact
Expand Down
10 changes: 1 addition & 9 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const config: Config = {
projectName: "llm-agent-builder", // Usually your repo name.
trailingSlash: false,

onBrokenLinks: "throw",
onBrokenLinks: "warn",
onBrokenMarkdownLinks: "warn",

// Even if you don't use internationalization, you can use this field to set
Expand All @@ -36,17 +36,9 @@ const config: Config = {
{
docs: {
sidebarPath: "./sidebars.ts",
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
},
blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
},
theme: {
customCss: "./src/css/custom.css",
Expand Down

0 comments on commit 7155b3c

Please sign in to comment.