parent
c81e9f97a1
commit
36a46826d8
2 changed files with 6 additions and 1 deletions
|
@ -1,8 +1,12 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import tomllib
|
||||
import glob
|
||||
import os
|
||||
|
||||
#print(os.environ["GITHUB_TOKEN"])
|
||||
for mod in glob.glob("pack/mods/*.toml"):
|
||||
with open(mod, "rb") as f:
|
||||
data = tomllib.load(f)
|
||||
print(mod)
|
||||
print(data)
|
||||
|
|
|
@ -23,6 +23,7 @@ jobs:
|
|||
- name: "Commit changes"
|
||||
run: |
|
||||
cd wiki
|
||||
git add .
|
||||
git config --global user.name 'PossPack Wiki Updater'
|
||||
git config --global user.email 'root@possum.city'
|
||||
git commit -am "Automated wiki update"
|
||||
|
|
Loading…
Reference in a new issue