Skip to content

chore: update dependencies #19

chore: update dependencies

chore: update dependencies #19

Workflow file for this run

name: docs
on:
push:
branches:
- 'main'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: install node
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: build
run: pnpm run docs:build
- name: deploy to netlify
uses: nwtgck/[email protected]
with:
publish-dir: './dist'
production-branch: main
deploy-message: 'deploy from github actions'
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1