summaryrefslogtreecommitdiff
path: root/scripts/list-nightly-builds.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/list-nightly-builds.py')
-rwxr-xr-xscripts/list-nightly-builds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/list-nightly-builds.py b/scripts/list-nightly-builds.py
index 7cde6ae..81f9037 100755
--- a/scripts/list-nightly-builds.py
+++ b/scripts/list-nightly-builds.py
@@ -51,7 +51,7 @@ def render_image_list(images):
return tmpl.render(images=images)
if __name__ == '__main__':
- gh_token_string = os.getenv('GITHUB_ACCESS_TOKEN')
+ gh_token_string = os.getenv('GH_ACCESS_TOKEN')
gh_auth = github.Auth.Token(gh_token_string)
gh = github.Github(auth=gh_auth)
repo = gh.get_repo(REPO)