Use a token for github
This commit is contained in:
parent
7bf0afa621
commit
87eda834d3
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ def create_release(self, releases):
|
|||
|
||||
|
||||
def get_github_data():
|
||||
with open(os.environ['PENV'] + '/github') as f:
|
||||
with open(os.environ['PENV'] + '/github-token') as f:
|
||||
un, pw = f.read().strip().split(':')
|
||||
return {'username': un, 'password': pw}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue