mirror of
https://github.com/msberends/AMR.git
synced 2025-07-21 22:13:17 +02:00
(v2.1.1.9216) PyPI access token
This commit is contained in:
6
.github/workflows/publish-to-pypi.yml
vendored
6
.github/workflows/publish-to-pypi.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
PyPI_TOKEN: ${{ secrets.PyPI }}
|
||||
PYPI_PAT: ${{ secrets.PYPI_PAT }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@ -85,7 +85,7 @@ jobs:
|
||||
rm -rf PythonPackage
|
||||
|
||||
git init
|
||||
git remote add origin https://$PyPI_TOKEN@github.com/msberends/AMR
|
||||
git remote add origin https://$PYPI_PAT@github.com/msberends/AMR
|
||||
git checkout --orphan python-wrapper
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
@ -94,4 +94,4 @@ jobs:
|
||||
git add .
|
||||
git commit -m "Python wrapper update"
|
||||
# git push origin python-wrapper --force
|
||||
git push https://$PyPI_TOKEN@github.com/msberends/AMR.git python-wrapper --force
|
||||
git push https://$PYPI_PAT@github.com/msberends/AMR.git python-wrapper --force
|
||||
|
Reference in New Issue
Block a user