constconfig={title:'LLM cool Docs',tagline:'Dinosaurs are cool',favicon:'img/favicon.ico',// Set the production url of your site hereurl:'https://KenForever1.github.io/',// Set the /<baseUrl>/ pathname under which your site is served// For GitHub pages deployment, it is often '/<projectName>/'baseUrl:'/llm_cool_docs/',// GitHub pages deployment config.// If you aren't using GitHub pages, you don't need these.organizationName:'KenForever1',// Usually your GitHub org/user name.projectName:'llm_cool_docs',// Usually your repo name.}
name:Deploy to GitHub Pageson:push:branches:-main# Review gh actions docs if you want to further define triggers, paths, etc# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onjobs:build:name:Build Docusaurusruns-on:ubuntu-lateststeps:-uses:actions/checkout@v4with:fetch-depth:0-uses:actions/setup-node@v4with:node-version:18cache:yarn-name:Install dependenciesrun:yarn install --frozen-lockfile-name:Build websiterun:yarn build-name:Upload Build Artifactuses:actions/upload-pages-artifact@v3with:path:builddeploy:name:Deploy to GitHub Pagesneeds:build# Grant GITHUB_TOKEN the permissions required to make a Pages deploymentpermissions:pages:write# to deploy to Pagesid-token:write# to verify the deployment originates from an appropriate source# Deploy to the github-pages environmentenvironment:name:github-pagesurl:${{ steps.deployment.outputs.page_url }}runs-on:ubuntu-lateststeps:-name:Deploy to GitHub Pagesid:deploymentuses:actions/deploy-pages@v4