Skip to content

Commit

Permalink
Merge pull request #146 from CCBR/mkdocs-mike
Browse files Browse the repository at this point in the history
set up mkdocs mike & release actions
  • Loading branch information
kelly-sovacool authored Sep 12, 2024
2 parents f6db47f + 0cef86c commit 828a13b
Show file tree
Hide file tree
Showing 9 changed files with 78 additions and 21 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build_mkdocs.yaml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/docs-mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: docs
on:
workflow_dispatch:
release:
types:
- published
push:
branches:
- main
paths:
- "docs/**"
- "**.md"
- .github/workflows/docs-mkdocs.yml
- mkdocs.yml

jobs:
mkdocs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: CCBR/actions/[email protected]
with:
github-token: ${{ github.token }}
25 changes: 25 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: draft-release

on:
workflow_dispatch:
inputs:
version-tag:
description: |
Semantic version tag for next release.
If not provided, it will be determined based on conventional commit history.
Example: v2.5.11
required: false
type: string
default: ""

jobs:
draft-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # required to include tags
- uses: CCBR/actions/[email protected]
with:
github-token: ${{ github.token }}
version-tag: ${{ github.event.inputs.version-tag }}
17 changes: 17 additions & 0 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: post-release

on:
release:
types:
- published

jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: CCBR/actions/[email protected]
with:
github-token: ${{ github.token }}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
### Misc

- The singularity version is no longer specified, per request of the biowulf admins. (#139, @kelly-sovacool)
- Minor documentation updates. (#146, @kelly-sovacool)

## CARLISLE v2.5.0

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

This snakemake pipeline is built to run on [Biowulf](https://hpc.nih.gov/).

For comments/suggestions/advice please reach out to [Samantha Chill](mailto:samantha.sevilla@nih.gov).
For comments/suggestions/advice please contact <mailto:CCBR_Pipeliner@mail.nih.gov>.

For detailed documentation on running the pipeline view the [documentation](https://CCBR.github.io/CARLISLE/) page.
For detailed documentation on running the pipeline view the [documentation](https://CCBR.github.io/CARLISLE/) website.
File renamed without changes
8 changes: 7 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!-- the README is inserted here automatically-->

--8<-- "README.md"

<!--- write additional info that you only want to appear in the docs index here -->

The CARLISLE pipeline was developed in support of NIH [Dr Vassiliki Saloura's Laboratory](https://ccr.cancer.gov/staff-directory/vassiliki-saloura) and [Dr Javed Khan's Laboratory](https://ccr.cancer.gov/staff-directory/javed-khan/lab). It has been developed and tested solely on NIH [HPC Biowulf](https://hpc.nih.gov/).

![Image title](https://github.com/CCBR/CARLISLE/blob/dev/resources/img/CUTandRUN_Workflow.jpeg?raw=true)
![cut-and-run workflow](img/CUTandRUN_Workflow.jpeg)
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ markdown_extensions:

# Page Tree
nav:
- Background: index.md
- Home: index.md
- Usage:
- 1. Getting Started: user-guide/getting-started.md
- 2. Preparing Files: user-guide/preparing-files.md
Expand Down

0 comments on commit 828a13b

Please sign in to comment.