Skip to content

Commit

Permalink
add stats and auth repo
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Nov 18, 2023
1 parent bb64024 commit bac0954
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/generate_json_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ jobs:
repository: toniebox-reverse-engineering/tonies-json
ref: release
path: tonies-json-release
- name: Checkout auth
uses: actions/checkout@v4
with:
repository: toniebox-reverse-engineering/tonies-json-auth
path: tonies-json-auth
ssh-key: ${{ secrets.TONIES_JSON_AUTH_PRIVATE_SSH_KEY }}

- name: Delete old artifacts tonies-json-release
run: |
Expand All @@ -59,6 +65,11 @@ jobs:
run: |
cd tonies-json-tools
./yaml2tonies-json.py
- name: Run stats.py
run: |
cd tonies-json-tools
./stats.py
- name: Check if files exist
run: |
Expand All @@ -80,7 +91,7 @@ jobs:
cd tonies-json-release
if [[ -n $(git status --porcelain) ]]; then
git add .
git commit -m "Auto-Update tonies.json and toniesV2.json"
git commit -m "Auto-Update tonies.json, toniesV2.json and the stats"
git pull --rebase
git push
else
Expand Down

0 comments on commit bac0954

Please sign in to comment.