Skip to content

Merge pull request #93 from yuiseki/renovate/langchain-core-0.x-lockfile #109

Merge pull request #93 from yuiseki/renovate/langchain-core-0.x-lockfile

Merge pull request #93 from yuiseki/renovate/langchain-core-0.x-lockfile #109

name: Publish GitHub Pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
publish_gh_pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Extract node version
run: echo "NODE_VERSION=$(cat .node_version)" >> $GITHUB_ENV
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Build page
run: |
npm ci
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist