diff --git a/.github/workflows/build-examples-gh-pages-on-push.yml b/.github/workflows/build-examples-gh-pages-on-push.yml index f23637eb..3a14ac54 100644 --- a/.github/workflows/build-examples-gh-pages-on-push.yml +++ b/.github/workflows/build-examples-gh-pages-on-push.yml @@ -71,13 +71,14 @@ jobs: echo $GITHUB_WORKSPACE/examples/${{matrix.build-dir}} diff sdkconfig.defaults ${{matrix.boards}} - diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > temp_conf - cat temp_conf >> sdkconfig.defaults + diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > new_conf.txt + cat new_conf.txt + cat new_conf.txt >> sdkconfig.defaults if [[ ${{matrix.build-dir}} == chatgpt_demo ]]; then cd factory_nvs - diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > temp_conf - cat temp_conf >> sdkconfig.defaults + diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > new_conf.txt + cat new_conf.txt >> sdkconfig.defaults idf.py build cd ../ fi @@ -113,8 +114,8 @@ jobs: pip install "idf_build_apps<2.0" cd $GITHUB_WORKSPACE/examples/${{matrix.build-dir}} - diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > temp_conf - cat temp_conf >> sdkconfig.defaults + diff sdkconfig.defaults ${{matrix.boards}} | grep '^>' | sed 's/^>//' > new_conf.txt + cat new_conf.txt >> sdkconfig.defaults idf.py set-target esp32s3 build cd build