Use PACKAGE_DEPLOY_KEY PAT for plotstyle publish workflow
Publish plotstyle / build-and-publish (push) Successful in 7s
CI / test:pytest (push) Successful in 22s
CI / lint:ruff (push) Successful in 16s
CI / format:ruff (push) Successful in 15s
CI / typecheck:ty (push) Successful in 21s
CI / vulnerabilities:pip-audit (push) Successful in 18s
Publish plotstyle / build-and-publish (push) Successful in 7s
CI / test:pytest (push) Successful in 22s
CI / lint:ruff (push) Successful in 16s
CI / format:ruff (push) Successful in 15s
CI / typecheck:ty (push) Successful in 21s
CI / vulnerabilities:pip-audit (push) Successful in 18s
The built-in Actions token was rejected by the Gitea package registry (401 reqPackageAccess); a PAT with write:package scope is required.
This commit is contained in:
@@ -7,7 +7,6 @@ on:
|
|||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
@@ -34,6 +33,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish to Gitea package registry
|
- name: Publish to Gitea package registry
|
||||||
env:
|
env:
|
||||||
UV_PUBLISH_USERNAME: ${{ github.actor }}
|
UV_PUBLISH_USERNAME: lars
|
||||||
UV_PUBLISH_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
UV_PUBLISH_PASSWORD: ${{ secrets.PACKAGE_DEPLOY_KEY }}
|
||||||
run: uv publish --publish-url "${{ github.server_url }}/api/packages/${{ github.repository_owner }}/pypi" dist/*
|
run: uv publish --publish-url "${{ github.server_url }}/api/packages/${{ github.repository_owner }}/pypi" dist/*
|
||||||
|
|||||||
Reference in New Issue
Block a user