Skip to content

Commit

Permalink
documentation test
Browse files Browse the repository at this point in the history
  • Loading branch information
buehlere committed Feb 21, 2024
1 parent 373797a commit c5665bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/document_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,21 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Check for changes
id: git_changes
run: echo "HAS_CHANGES=$(if git diff --quiet; then echo 'false'; else echo 'true'; fi)" >> $GITHUB_ENV
# Debug output
- name: Debug HAS_CHANGES
run: echo $HAS_CHANGES


- name: Document CLI and write to folder
if: env.HAS_CHANGES == 'true'
run: |
make deps-install
poetry run typer postprocessing_variant_calls.main utils docs > docs/CLI.md
rm docs/README.md
cp README.md docs/README.md
- name: Check for changes
id: git_changes
run: echo "HAS_CHANGES=$(if git diff --quiet; then echo 'false'; else echo 'true'; fi)" >> $GITHUB_ENV
- name: Debug HAS_CHANGES
run: echo $HAS_CHANGES
- name: Push Changes
run: |
git config --global user.name 'buehlere'
git config --global user.email '[email protected]'
git add ./docs
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ To access the environment after initial setup up run:
```bash
poetry shell
```
changes

0 comments on commit c5665bf

Please sign in to comment.