Skip to content

Commit e5936dd

Browse files
committed
🧪 Fix artifact URLs in the dumb-pypi index
Looks like migrating the GitHub Pages publishing mechanism from a Git branch to an artifact-based process broke this. It used to point to artifacts on the branch. Now, this patch changes it to point to the public GH Pages URL from the static website. Resolves #679.
1 parent 51f99dd commit e5936dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,9 +1888,9 @@ jobs:
18881888
run: |
18891889
python -m dumb_pypi.main \
18901890
--package-list <(ls dist/) \
1891-
--packages-url https://raw.githubusercontent.com/${{
1892-
github.repository
1893-
}}/gh-pages/dist \
1891+
--packages-url "https://${{
1892+
github.repository_owner
1893+
}}.github.io/${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/}/dist" \
18941894
--output-dir gh-pages-dumb-pypi
18951895
shell: bash
18961896

0 commit comments

Comments
 (0)