Skip to content

Commit cd95f46

Browse files
committed
Adding deploy keys instead of Github tokens
1 parent f2319a3 commit cd95f46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pypi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
22+
ssh-key: ${{ secrets.DEPLOY_KEY }}
2223

2324
- name: Set up Python 3.12
2425
uses: actions/setup-python@v5
@@ -62,7 +63,6 @@ jobs:
6263
- name: Push commit
6364
# GITHUB_TOKEN is automatically provided
6465
run: |
65-
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
6666
git push origin HEAD:$BRANCH
6767
6868
- name: Build a sdist and wheel

0 commit comments

Comments
 (0)