This commit is contained in:
neoarz 2025-04-14 21:53:26 -04:00
parent b0293c415e
commit 5519ece7ad
2 changed files with 9 additions and 5 deletions

View file

@ -15,6 +15,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: 0-Blu/StikJIT
ref: main
- name: Set up Python
uses: actions/setup-python@v4
@ -32,7 +36,7 @@ jobs:
- name: Debug repository information
run: |
echo "Repository: $GITHUB_REPOSITORY"
echo "Repository: 0-Blu/StikJIT"
echo "Event name: $GITHUB_EVENT_NAME"
echo "Current directory: $(pwd)"
echo "Repository contents:"
@ -59,8 +63,8 @@ jobs:
echo "Changes detected in repo.json:"
git diff --staged
git commit -m "Updated source with latest StikJIT release"
# Force push to main
git push -f origin HEAD:main
# Push to main branch of original repository
git push origin main
echo "changes=true" >> $GITHUB_OUTPUT
fi

View file

@ -165,8 +165,8 @@ def update_json_file(json_file, latest_release):
return False
def main():
# Get repository from environment variable or use default
repo_url = os.environ.get("GITHUB_REPOSITORY", "neoarz/StikJIT")
# Use the original repository instead of fork
repo_url = "0-Blu/StikJIT"
json_file = "repo.json"
print(f"Using repository: {repo_url}")