generated from yxtay/python-project-template
-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (31 loc) · 1.15 KB
/
document_package.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
name: Document package
on:
pull_request:
branches:
- develop
jobs:
run_test_vardict_filter:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Document CLI and write to folder
run: |
make deps-install
poetry run typer postprocessing_variant_calls.main utils docs > docs/CLI.md
- name: Commit Doc Changes
run: |
git config --global user.name 'buehlere'
git config --global user.email '[email protected]'
git checkout ${{ github.head_ref }}
git add ./docs
git commit -m "Updating the repository GitHub MD documentation in the docs folder"
git push origin ${{ github.head_ref }}