-
Notifications
You must be signed in to change notification settings - Fork 30
31 lines (29 loc) · 993 Bytes
/
full.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
name: Full build
on:
schedule:
- cron: 0 3 * * 0
workflow_dispatch:
jobs:
get-data-from-sources:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 17
- run: sudo apt-get update && sudo apt-get install -y git
- run: yarn install --frozen-lockfile
- run: yarn run build:data:full
env:
GH_API_CONCURRENCY_LIMIT: ${{secrets.GH_API_CONCURRENCY_LIMIT}}
GH_API_USERNAME: ${{secrets.GH_API_USERNAME}}
GH_API_TOKEN: ${{secrets.GH_API_TOKEN}}
- run: yarn run build:site
env:
HOSTED_AT: ${{secrets.HOSTED_AT}}
- run: git config --global user.name "Tooling Builder"
- run: git config --global user.email "[email protected]"
- run: |
git add docs/categories
git commit -a -m "chore: Full build (updates to OpenAPI tooling data and site rebuild)"
git push origin main