Skip to content

chore: updated version #3

chore: updated version

chore: updated version #3

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: github.repository == 'wll8/redoc-try'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup NODE
uses: actions/setup-node@v4
with:
node-version: 18
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 9.0.x
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist