Skip to content

Commit ad08d93

Browse files
authored
Merge pull request #10 from MPUSP/dev
feat: change deployment to pixi, added news article
2 parents ea7fb50 + e0ab450 commit ad08d93

10 files changed

Lines changed: 804 additions & 34 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SCM syntax highlighting & preventing 3-way merges
2+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true -diff

.github/workflows/deploy.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,14 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v6
1616

17-
- name: Setup conda
18-
uses: conda-incubator/setup-miniconda@v3
17+
- uses: prefix-dev/setup-pixi@v0
1918
with:
20-
channels: conda-forge
21-
environment-file: environment.yaml
22-
miniforge-version: latest
19+
cache: true
2320

2421
- name: Generate page
25-
shell: bash -l {0}
2622
env:
2723
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
run: |
29-
python src/scripts/generate_page.py
30-
python src/scripts/generate_workflow_md.py
24+
run: pixi run generate-page
3125

3226
- name: Upload page data
3327
uses: actions/upload-artifact@v4

.github/workflows/test-deploy.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,14 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v6
1414

15-
- name: Setup conda
16-
uses: conda-incubator/setup-miniconda@v3
15+
- uses: prefix-dev/setup-pixi@v0
1716
with:
18-
channels: conda-forge
19-
environment-file: environment.yaml
20-
miniforge-version: latest
17+
cache: true
2118

2219
- name: Generate page
23-
shell: bash -l {0}
2420
env:
2521
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
run: |
27-
python src/scripts/generate_page.py
28-
python src/scripts/generate_workflow_md.py
22+
run: pixi run generate-page
2923

3024
- name: Upload page data
3125
uses: actions/upload-artifact@v4

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ docs/workflows/all_workflows/*.md
2020
npm-debug.log*
2121
yarn-debug.log*
2222
yarn-error.log*
23+
# pixi environments
24+
.pixi/*
25+
!.pixi/config.toml

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# mpusp.github.io
22

33
[![Deploy to GitHub Pages](https://github.com/MPUSP/mpusp.github.io/actions/workflows/deploy.yml/badge.svg)](https://github.com/MPUSP/mpusp.github.io/actions/workflows/deploy.yml)
4-
[![GitHub last commit](https://img.shields.io/github/last-commit/MPUSP/mpusp-github-io)](https://github.com/MPUSP/mpusp.github.io/actions/workflows/deploy.yml)
4+
[![GitHub last commit](https://img.shields.io/github/last-commit/MPUSP/mpusp.github.io)](https://github.com/MPUSP/mpusp.github.io/commits/main)
55

66
A homepage for the bioinformatic platform of the Max-Planck-Unit for the Science of Pathogens ([MPUSP](www.mpusp.mpg.de)).
77
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
@@ -22,17 +22,16 @@ The website is automatically updated and built once per week, and on pull reques
2222

2323
### Dependencies
2424

25-
To develop the page locally, create a conda environment with the required packages:
25+
To develop the page locally, use [pixi](https://pixi.prefix.dev) to set up the local environment from the `pixi.toml` file:
2626

2727
```bash
28-
conda create -n docusaurus -c conda-forge python pygithub jinja2 nodejs
29-
conda activate docusaurus
28+
pixi shell
3029
```
3130

32-
To create a test page, run:
31+
The `pixi.toml` file has predefined tasks to fetch data and generate content for the website:
3332

3433
```bash
35-
npm create-docusaurus@latest docusaurus-test classic
34+
pixi run generate-page
3635
```
3736

3837
### Local Development

blog/2026-04-13-catalog/index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
slug: new-catalog-features
3+
title: New features for the Snakemake Workflow Catalog
4+
authors: [michael]
5+
tags: [announcements]
6+
---
7+
8+
The [Snakemake Workflow Catalog](https://snakemake.github.io/snakemake-workflow-catalog) is rolling out **two new features**!
9+
10+
1. The Catalog now supports automatic rendering of **Tube Maps** using [snakevision](https://github.com/OpenOmics/snakevision). Tube maps will automatically show up on your workflow page if the workflow has an executable test case in `.test` ([details](https://snakemake.github.io/snakemake-workflow-catalog/docs/about/adding_workflows)).
11+
12+
2. The Catalog will automatically render a **Workflow Parameter Table** if your workflow repo contains a `workflow/schemas/config.schema.y(a)ml` or `config/schemas/config.schema.y(a)ml` ([details](docs/about/adding_workflows)). No need to manually maintain a table of parameters on your workflow page anymore.
13+
14+
Here's an [example for a workflow](https://snakemake.github.io/snakemake-workflow-catalog/docs/workflows/MPUSP/snakemake-simple-mapping.html) with a tube map and a parameter table, `MPUSP/snakemake-simple-mapping`.
15+
16+
<!-- truncate -->

environment.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)