Generate images for docs #21
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: Generate images for docs | |
on: | |
workflow_dispatch: | |
jobs: | |
rich_codex: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
# Use @nf-core-bot token to check out so we can push without a PR | |
token: ${{ secrets.NF_CORE_BOT_AUTH_TOKEN }} | |
- name: Set up Python | |
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5 | |
with: | |
python-version: 3.x | |
- name: Install Nextflow | |
uses: nf-core/setup-nextflow@561fcfc7146dcb12e3871909b635ab092a781f34 # v2 | |
- name: Install nf-test | |
uses: nf-core/setup-nf-test@v1 | |
- name: Install nf-core/tools | |
run: pip install nf-core | |
- name: Generate terminal images with rich-codex | |
uses: ewels/rich-codex@v1 | |
env: | |
COLUMNS: 100 | |
HIDE_PROGRESS: 'true' | |
NXF_ANSI_LOG: false | |
with: | |
commit_changes: 'true' | |
terminal_width: 100 | |
skip_git_checks: 'true' | |
search_include: '.github/workflows/rich-codex.yml' |