From a849a41c57d141d900e0733498f42c4858bc0282 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Thu, 26 Aug 2021 05:50:53 +0000 Subject: [PATCH] Publish rolling releases on main branch --- .travis/deploy.py | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis/deploy.py b/.travis/deploy.py index 1a4f6ea..7670131 100644 --- a/.travis/deploy.py +++ b/.travis/deploy.py @@ -32,7 +32,7 @@ USER = 'maxking' TAG_VAR = 'CIRCLE_TAG' BRANCH_VAR = 'CIRCLE_BRANCH' -PRIMARY_BRANCH = 'master' +PRIMARY_BRANCH = 'main' def tag(original, final): @@ -89,7 +89,7 @@ def main(): elif os.environ.get(BRANCH_VAR) == PRIMARY_BRANCH: img_tag = 'rolling' else: - print(f'Not running on master branch or Git tag so not publishing...') + print(f'Not running on {PRIMARY_BRANCH} branch or Git tag so not publishing...') exit(0) for url in ('quay.io', 'docker.io', 'ghcr.io'): diff --git a/README.md b/README.md index c0d9aa2..91a8a17 100644 --- a/README.md +++ b/README.md @@ -488,7 +488,7 @@ that by adding the following to your configuration: location / { - proxy_pass http://localhost:8000; + proxy_pass http://127.0.0.1:8000; include uwsgi_params; uwsgi_read_timeout 300; proxy_set_header Host $host;