Skip to content

Docs fix spelling issues (#566) #711

Docs fix spelling issues (#566)

Docs fix spelling issues (#566) #711

name: Deploy to Staging - doc.thechaindata.com
on:
push:
branches:
- master
paths:
- "docs/**"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
run_install: true
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Build docs
run: pnpm docs:build
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-northeast-1
- run: aws s3 sync ./docs/.vuepress/dist s3://doc.thechaindata.com/ --delete