Add the env var mapping too.
@@ -89,6 +89,7 @@ stages:
tox -e release
env:
TWINE_PASSWORD: $(PyPI-token)
+ GITHUB_TOKEN: $(Github-token)
displayName: 'publish to PyPI'
condition: contains(variables['Build.SourceBranch'], 'tags')
