Skip to content

chore: Update environment variables setup for Nginx deployment #136

chore: Update environment variables setup for Nginx deployment

chore: Update environment variables setup for Nginx deployment #136

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: ['main', 'develop']
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install dependencies
run: pnpm install
- name: Build documentation
run: pnpm typedoc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
keep_files: true
destination_dir: ./
commit_message: 'docs: deploy documentation'