From 87eda834d379657c0d952714ed0a1a3174d425da Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 12 Dec 2019 10:05:11 +0530 Subject: [PATCH] Use a token for github --- publish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish.py b/publish.py index b61a586ef..d5b74c53c 100755 --- a/publish.py +++ b/publish.py @@ -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}