Skip to content

Commit

Permalink
Fix stupid error
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jul 10, 2023
1 parent 8c69dcd commit f667a35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ jobs:
- name: Sign and Publish
env:
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
TWINE_USERNAME: __user__
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_TWINE_PASSWORD }}
CI_SECRET: ${{ secrets.CI_SECRET }}
run: |-
Expand Down Expand Up @@ -429,7 +429,7 @@ jobs:
- name: Sign and Publish
env:
TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/
TWINE_USERNAME: __user__
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
CI_SECRET: ${{ secrets.CI_SECRET }}
run: |-
Expand Down
4 changes: 3 additions & 1 deletion dev/setup_secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ upload_github_secrets(){
load_secrets
unset GITHUB_TOKEN
#printf "%s" "$GITHUB_TOKEN" | gh auth login --hostname Github.com --with-token
gh auth login
if ! gh auth status ; then
gh auth login
fi
source dev/secrets_configuration.sh
gh secret set "TWINE_USERNAME" -b"${!VARNAME_TWINE_USERNAME}"
gh secret set "TEST_TWINE_USERNAME" -b"${!VARNAME_TEST_TWINE_USERNAME}"
Expand Down

0 comments on commit f667a35

Please sign in to comment.