posspack/.forgejo/workflows/update-wiki.yaml
Ashley Graves c23d5adbc4
Some checks failed
/ test (push) Failing after 44s
test
2024-07-27 14:34:31 +02:00

26 lines
673 B
YAML

on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: "Clone Modpack"
uses: actions/checkout@v3
with:
repository: "root/posspack"
path: "pack"
- name: "Clone Wiki"
uses: actions/checkout@v3
with:
repository: "root/posspack.wiki"
path: ".wiki"
- 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