diff --git a/.github/build_db.py b/.github/build_db.py index 9c9ffdb..08bac55 100644 --- a/.github/build_db.py +++ b/.github/build_db.py @@ -24,7 +24,7 @@ def main(): cleanup_build_py(github_repo) log('downloading db_operator.py') - urllib.request.urlretrieve('https://raw.githubusercontent.com/MiSTer-devel/Distribution_MiSTer/develop/.github/db_operator.py', '/tmp/distribution_db_operator.py') + urllib.request.urlretrieve('https://raw.githubusercontent.com/MiSTer-devel/Distribution_MiSTer/main/.github/db_operator.py', '/tmp/distribution_db_operator.py') db_url = f'https://raw.githubusercontent.com/{github_repo}/db/db.json.zip' base_files_url = f'https://raw.githubusercontent.com/{github_repo}/%s/' diff --git a/.github/workflows/build_db.yml b/.github/workflows/build_db.yml index c78d26b..2f34ee7 100644 --- a/.github/workflows/build_db.yml +++ b/.github/workflows/build_db.yml @@ -4,6 +4,7 @@ on: push: branches: - main + workflow_dispatch: permissions: write-all