parent
8c541713f9
commit
72924d85f9
1 changed files with 1 additions and 15 deletions
|
@ -17,23 +17,9 @@ jobs:
|
|||
path: "wiki"
|
||||
ref: "main"
|
||||
|
||||
- name: Restore cached licenses
|
||||
id: cache-licenses-restore
|
||||
uses: actions/cache/restore@v3
|
||||
with:
|
||||
path: cache
|
||||
key: licenses
|
||||
|
||||
- name: "Update modlist"
|
||||
run: python pack/.forgejo/scripts/update-wiki.py
|
||||
|
||||
- name: Save cached licenses
|
||||
id: cache-licenses-save
|
||||
uses: actions/cache/save@v3
|
||||
with:
|
||||
path: cache
|
||||
key: ${{ steps.cache-licenses-restore.outputs.cache-primary-key }}
|
||||
|
||||
- name: "Commit changes"
|
||||
run: |
|
||||
cd wiki
|
||||
|
@ -41,4 +27,4 @@ jobs:
|
|||
git config --global user.name 'Modpack Wiki Updater'
|
||||
git config --global user.email 'modupdater@incest.world'
|
||||
git commit -am "Automated wiki update"
|
||||
git push
|
||||
git push
|
||||
|
|
Loading…
Add table
Reference in a new issue