PolyhedralDev / TerraOverworldConfig

Overworld config pack for Terra
Creative Commons Attribution 4.0 International
32 stars 35 forks source link

Automatically publish a biome list #117

Open Astrashh opened 2 years ago

Astrashh commented 2 years ago

The following script will generate a plain text file of all the biomes inside the biomes dir (excluding biomes/abstract)

#!/bin/bash
find biomes -name "*.yml" -not -path "biomes/abstract/*" -printf "%f\n" | sed "s/\..*$//" > biome-list.txt

The biome list would be generated upon push to master via actions, and can be used to generate a markdown page which can then be automatically published to this repo's wiki page.