Skip to content

docs: Add documentation search (#1100) #67

docs: Add documentation search (#1100)

docs: Add documentation search (#1100) #67

name: Website
on:
push:
branches:
- main
paths:
- "packages/website/**"
jobs:
deploy:
name: Deploy website
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup project
uses: ./.github/actions/setup-project
- name: Install dependencies
run: yarn
working-directory: ./packages/website
- name: Deploy
run: |
git config --global user.name ${{ secrets.GH_BOT_NAME }}
git config --global user.email ${{ secrets.GH_BOT_EMAIL }}
echo "machine github.com login ${{ secrets.GH_BOT_NAME }} password ${{ secrets.GH_RELEASE_TOKEN }}" > ~/.netrc
GIT_USER=${{ secrets.GH_BOT_NAME }} yarn run deploy
working-directory: ./packages/website