diff --git a/.gitea/workflows/modlist.yaml b/.gitea/workflows/modlist.yaml new file mode 100644 index 0000000..de2a0b6 --- /dev/null +++ b/.gitea/workflows/modlist.yaml @@ -0,0 +1,21 @@ +name: "Modlist update" +on: push +jobs: + update: + runs-on: wind + steps: + - name: "grabbing new mods" + uses: actions/checkout@v4 + + - name: "unzip mods" + shell: bash + id: getfiles + run: | + unzip unzip_me.zip + ls --format=single-column *.jar >> $GITHUB_OUTPUT + + - name: "truncate readme" + shell: bash + run: | + sed -i 's/## List of Mods.*/## List of Mods/' README.md + cat README.md diff --git a/README.md b/README.md index 79056d2..1644b25 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # Minecraft Server Modpack This is the current modpack for the current Minecraft season -## Mods \ No newline at end of file +## List of Mods \ No newline at end of file