forked from pulp/pulp-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 878 Bytes
/
update-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
name: "Update Data Branch"
on:
workflow_dispatch:
jobs:
update-data:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
with:
ref: docs-data
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.11"
- name: "List requirements"
run: |
cat requirements_system.txt
cat requirements_python.txt
- name: "Install System dependencies"
run: |
xargs sudo apt -y install < requirements_system.txt
sudo apt -y install gir1.2-ostree-1.0 # required by ostree
- name: "Install Python dependencies"
run: |
pip install --upgrade pip
pip install -r requirements_python.txt
- name: "Generate, commit and push updated openapi specs"
run: |
./update-data.sh