Update Data Branch #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update Data Branch" | |
on: | |
workflow_dispatch: | |
jobs: | |
update-data: | |
runs-on: "ubuntu-20.04" | |
steps: | |
- uses: "actions/checkout@v4" | |
with: | |
ref: docs-data | |
- name: "Set up Python" | |
uses: "actions/setup-python@v5" | |
with: | |
python-version: "3.11" | |
- name: "Install Python dependencies" | |
run: | | |
pip install -r doc_requirements.txt | |
- name: "Install System dependencies" | |
run: | | |
xargs sudo apt-get -y install < system_requirements.txt | |
- name: "Install pulp_docs" | |
run: | | |
pip install --upgrade pip | |
pip install -r python_requirements.txt | |
- name: "Generate, commit and push updated openapi specs" | |
run: | | |
./update-changes.sh |