Skip to content

Merge pull request #128 from AElfProject/feat/uplaod-add-uploading-st… #42

Merge pull request #128 from AElfProject/feat/uplaod-add-uploading-st…

Merge pull request #128 from AElfProject/feat/uplaod-add-uploading-st… #42

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Build
run: |
npm i pnpm -g
pnpm install
pnpm run build:docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.DEPLOY_KEY }}
publish_dir: ./dist