Skip to content

Commit

Permalink
Update generate_types.yml
Browse files Browse the repository at this point in the history
Use GH token to push
  • Loading branch information
AJXD2 authored Nov 17, 2024
1 parent 89390c5 commit 5f3de87
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/generate_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ jobs:
run: |
git clone https://github.com/helldivers-2/json
# Debugging: List submodule files to check if the file exists
- name: List submodule files for debugging
run: |
ls -la ./
# Step 4: Run the generate_types script
- name: Run generate_types.py
run: |
Expand All @@ -42,4 +37,5 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add helldivepy/generated_types.py
git commit -m "Automated update: Regenerated types" || echo "No changes to commit"
git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/AJXD2/helldive.py.git
git push

0 comments on commit 5f3de87

Please sign in to comment.