-
Notifications
You must be signed in to change notification settings - Fork 72
37 lines (31 loc) · 931 Bytes
/
generate-docs.yml
File metadata and controls
37 lines (31 loc) · 931 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
name: Auto Build Docs
on:
push:
paths:
- "docs.openc3.com/**"
branches:
- main
jobs:
build-and-commit:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
# 'environment: Release' is required to access the secrets.QA_PAT
# See https://github.com/OpenC3/cosmos/settings/secrets/actions
environment: Release
steps:
- uses: actions/checkout@v5
with:
token: ${{ secrets.QA_PAT }}
- uses: actions/setup-node@v6
with:
node-version: 22
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: 10
- name: Build docs
run: ./build.sh
working-directory: docs.openc3.com
- uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: Automated Doc Build Change