Skip to content

Commit

Permalink
[ci] Publish
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Aug 3, 2024
1 parent d60775e commit f704363
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def main():
html_base_url = ''
build_dir = '_build'
if os.environ.get('PRODUCTION', False):
docs_root = '/docs/__new__'
docs_root = '/docs/'
html_base_url = 'https://openwisp.io'
build_dir = f'{build_dir}/{docs_root}'

Expand Down
2 changes: 1 addition & 1 deletion run-qa-checks
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ python -m http.server 8001 &> /dev/null & pid=$!
sleep 4
BASE_URL="http://localhost:8001"
if [ -n "${PRODUCTION:-}" ]; then
BASE_URL="$BASE_URL/docs/__new__"
BASE_URL="$BASE_URL/docs/"
fi
pylinkvalidate.py "$BASE_URL/dev/" \
-w 4 -m process
Expand Down

0 comments on commit f704363

Please sign in to comment.