parent
c23d5adbc4
commit
ab51fe1948
1 changed files with 6 additions and 5 deletions
|
@ -3,24 +3,25 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: "Clone Modpack"
|
- name: "Clone modpack"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: "root/posspack"
|
repository: "root/posspack"
|
||||||
path: "pack"
|
path: "pack"
|
||||||
|
|
||||||
- name: "Clone Wiki"
|
- name: "Clone wiki"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: "root/posspack.wiki"
|
repository: "root/posspack.wiki"
|
||||||
path: ".wiki"
|
path: ".wiki"
|
||||||
|
branch: "main"
|
||||||
|
|
||||||
- name: "Update Modlist"
|
- name: "Update modlist"
|
||||||
run: python .forgejo/scripts/update-wiki.py
|
run: python .forgejo/scripts/update-wiki.py
|
||||||
|
|
||||||
- name: "Commit Changes"
|
- name: "Commit changes"
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name 'Your Name'
|
git config --global user.name 'PossPack Wiki Updater'
|
||||||
git config --global user.email 'your-username@users.noreply.github.com'
|
git config --global user.email 'your-username@users.noreply.github.com'
|
||||||
git commit -am "Automated report"
|
git commit -am "Automated report"
|
||||||
git push
|
git push
|
||||||
|
|
Loading…
Reference in a new issue