-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (35 loc) · 1.06 KB
/
update_gdocs_data.yml
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
name: Update Google Docs Data
on:
workflow_dispatch:
jobs:
update_gdocs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Cache Node.js modules
uses: actions/cache@v4.0.1
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node2-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node2-
- run: npm ci
- name: Update Docs
run: npm run gen
- name: Create pull request into main
uses: peter-evans/create-pull-request@v4
with:
branch: bot/update-docs
commit-message: 'chore: update docs'
title: Update Google Docs Meta Data
labels: chore
# reviewers:
assignees: melange396
body: |
Updating Google Docs Meta Data