test
Some checks failed
Update wiki / test (push) Failing after 12s

This commit is contained in:
Ashley Graves 2024-07-27 14:40:49 +02:00
parent c81e9f97a1
commit 36a46826d8
2 changed files with 6 additions and 1 deletions

View file

@ -1,8 +1,12 @@
#!/usr/bin/env python #!/usr/bin/env python
import tomllib
import glob import glob
import os import os
#print(os.environ["GITHUB_TOKEN"]) #print(os.environ["GITHUB_TOKEN"])
for mod in glob.glob("pack/mods/*.toml"): for mod in glob.glob("pack/mods/*.toml"):
with open(mod, "rb") as f:
data = tomllib.load(f)
print(mod) print(mod)
print(data)

View file

@ -23,6 +23,7 @@ jobs:
- name: "Commit changes" - name: "Commit changes"
run: | run: |
cd wiki cd wiki
git add .
git config --global user.name 'PossPack Wiki Updater' git config --global user.name 'PossPack Wiki Updater'
git config --global user.email 'root@possum.city' git config --global user.email 'root@possum.city'
git commit -am "Automated wiki update" git commit -am "Automated wiki update"