-
Notifications
You must be signed in to change notification settings - Fork 68
40 lines (40 loc) · 1.18 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
36
37
38
39
40
name: Update Google Docs Meta Data
on:
workflow_dispatch:
jobs:
update_gdocs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
branch: dev
ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pipd-${{ hashFiles('requirements.dev.txt') }}
restore-keys: |
${{ runner.os }}-pipd-
- name: Install Dependencies
run: |
pip -V
python -m pip install pip==22.0.2
pip install -r requirements.dev.txt
- name: Update Docs
run: inv update-gdoc
- name: Create pull request into dev
uses: peter-evans/create-pull-request@v3
with:
branch: bot/update-docs
commit-message: 'chore: update docs'
title: Update Google Docs Meta Data
labels: chore
reviewers: melange396
assignees: melange396
body: |
Updating Google Docs Meta Data