diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index a045be51..6beb3fed 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -167,10 +167,10 @@ jobs: python3 scripts/ci/workflow.py deploy \ Dependencies/apps-v2.json \ "_includes/source.json" \ - "${{ env.ref_name }}" \ + "${{ env.ref }}" \ "$SHORT_COMMIT" \ "$MARKETING_VERSION" \ "$VERSION" \ - "${{ env.ref_name }}" \ + "${{ env.ref }}" \ "com.SideStore.SideStore" \ "SideStore.ipa" \ No newline at end of file diff --git a/scripts/ci/workflow.py b/scripts/ci/workflow.py index edc2bc55..e9badd51 100644 --- a/scripts/ci/workflow.py +++ b/scripts/ci/workflow.py @@ -264,8 +264,8 @@ def deploy(repo, source_json, release_tag, short_commit, marketing_version, vers run(f"pushd {repo}", check=True) try: - # source_json is RELATIVE to repo - if not Path(source_json).exists(): + source_path = repo / source_json + if not source_path.exists(): raise SystemExit(f"{source_json} missing inside repo") run(