-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (37 loc) · 1.04 KB
/
build.yaml
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
---
name: build
on:
pull_request:
branches:
- main
# Recommended by https://github.com/JamesIves/github-pages-deploy-action
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
container: node:20
steps:
- uses: actions/checkout@v3
- name: Clone aep.dev
uses: actions/checkout@v3
with:
repository: aep-dev/aeps
path: './aeps'
- name: Clone Proto linter
uses: actions/checkout@v3
with:
repository: aep-dev/api-linter
path: './api-linter'
- name: Create rules folder
run: mkdir -p src/content/docs/tooling/linter/rules
- name: Create website folder
run: mkdir -p src/content/docs/tooling/website
- name: Install all dependencies.
run: npm install
- name: Generate all static pages.
run: AEP_LOCATION=./aeps AEP_LINTER_LOC=./api-linter npm run generate
- name: Install, build, and upload your site output
uses: withastro/action@v2