commit 85bdb18efe00b2f58ddc42e45ebac0879e677030 Author: LelieL91 <48968075+LelieL91@users.noreply.github.com> Date: Wed Nov 19 20:28:25 2025 +0100 Initial Release (Factorio) - Added Workflow to list the available mods - Added first mod diff --git a/.gitea/workflows/update-factorio-modlist.yml b/.gitea/workflows/update-factorio-modlist.yml new file mode 100644 index 0000000..43a8a65 --- /dev/null +++ b/.gitea/workflows/update-factorio-modlist.yml @@ -0,0 +1,33 @@ +name: Update Factorio Mod List + +on: + push: + paths: + - 'Factorio/**' + +jobs: + update-modlist: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Generate mod list + run: | + cd Factorio + echo "[" > mods.json + for f in *.zip; do + [ -f "$f" ] || continue + echo " \"${f}\"," >> mods.json + done + # remove trailing comma and close JSON array + sed -i '$ s/,$//' mods.json + echo "]" >> mods.json + + - name: Commit and push updated mod list + run: | + git config user.name "Gitea Bot" + git config user.email "actions@local" + git add Factorio/mods.json + git commit -m "Auto-update Factorio mod list" || exit 0 + git push diff --git a/Factorio/far-reach_2.0.2.zip b/Factorio/far-reach_2.0.2.zip new file mode 100644 index 0000000..0b11ef7 Binary files /dev/null and b/Factorio/far-reach_2.0.2.zip differ