posspack/.forgejo/workflows/update-wiki.yaml

27 lines
673 B
YAML
Raw Normal View History

2024-07-27 14:18:02 +02:00
on: [push]
jobs:
test:
2024-07-27 14:23:23 +02:00
runs-on: ubuntu-latest
2024-07-27 14:18:02 +02:00
steps:
2024-07-27 14:34:31 +02:00
- name: "Clone Modpack"
uses: actions/checkout@v3
2024-07-27 14:31:45 +02:00
with:
2024-07-27 14:34:31 +02:00
repository: "root/posspack"
2024-07-27 14:31:45 +02:00
path: "pack"
2024-07-27 14:34:31 +02:00
- name: "Clone Wiki"
uses: actions/checkout@v3
2024-07-27 14:31:45 +02:00
with:
2024-07-27 14:34:31 +02:00
repository: "root/posspack.wiki"
2024-07-27 14:31:45 +02:00
path: ".wiki"
2024-07-27 14:34:31 +02:00
- name: "Update Modlist"
run: python .forgejo/scripts/update-wiki.py
- name: "Commit Changes"
run: |
git config --global user.name 'Your Name'
git config --global user.email 'your-username@users.noreply.github.com'
git commit -am "Automated report"
git push