From 916f5f47291aff482555ae92c95b7b7f40b879c8 Mon Sep 17 00:00:00 2001 From: Kyle Gabriel Date: Wed, 27 Mar 2024 14:07:16 -0400 Subject: [PATCH] fix build --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc9f3da90..bb1d863a6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,8 +53,11 @@ jobs: sudo env/bin/python mycodo/start_flask_ui.py & sleep 10 wget --no-check-certificate -p https://127.0.0.1 -O /dev/null - sudo apt install npm + printf "\n# Installing npm\n" + sudo apt update && sudo apt install npm + printf "\n# Installing redoc-cli\n" sudo npm install -g redoc-cli + printf "\n# Generating manual\n" sudo bash mycodo/scripts/generate_manual_api.sh - name: Test with pytest run: |