-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 897 Bytes
/
deploy-docs.yml
File metadata and controls
40 lines (33 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Deploy Docs
on:
push:
branches: [main]
workflow_call:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Build package
run: pnpm build
- name: Build docs
run: pnpm docs:build
env:
NODE_OPTIONS: '--max-old-space-size=8192'
- name: Deploy
uses: amondnet/vercel-action@v41.1.4
with:
scope: wevm
vercel-args: --prod
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
working-directory: ./site/dist