From a85a98c43fd3a92199f8f3f2f5717ced9f8ad87d Mon Sep 17 00:00:00 2001 From: Florian Date: Fri, 9 Dec 2022 13:40:23 -0600 Subject: [PATCH] [DOCS] Update firmware_build dev path (#1355) So as to link properly to the manifest Make the website name more explicit so as to avoid confusion with the production one --- .github/workflows/manual_docs_to_dev.yml | 2 +- scripts/gen_wu_dev.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manual_docs_to_dev.yml b/.github/workflows/manual_docs_to_dev.yml index 0c2fc3c..ff5205d 100644 --- a/.github/workflows/manual_docs_to_dev.yml +++ b/.github/workflows/manual_docs_to_dev.yml @@ -23,7 +23,7 @@ jobs: - name: Set sha tag run: | sed -i "s/version_tag/${{ steps.short-sha.outputs.sha }}/g" main/User_config.h - sed -i "s/version_tag/${{ steps.short-sha.outputs.sha }}/g" docs/.vuepress/config.js + sed -i "s/version_tag/DEVELOPMENT SHA:${{ steps.short-sha.outputs.sha }} TEST ONLY/g" docs/.vuepress/config.js sed -i "s|base: '/'|base: '/dev/'|g" docs/.vuepress/config.js - name: Run PlatformIO run: platformio run diff --git a/scripts/gen_wu_dev.py b/scripts/gen_wu_dev.py index b929ce6..c0db50a 100644 --- a/scripts/gen_wu_dev.py +++ b/scripts/gen_wu_dev.py @@ -79,8 +79,8 @@ export default { } ''' -manif_folder = "/firmware_build_dev/" -manif_path = 'docs/.vuepress/public/firmware_build_dev/' +manif_folder = "/dev/firmware_build/" +manif_path = 'docs/.vuepress/public/firmware_build/' vue_path = 'docs/.vuepress/components/' bin_path = 'toDeploy/' cors_proxy = '' #'https://cors.bridged.cc/'