fix(console): Fixed bump version check in publish-docs yml

This commit is contained in:
Abhik Roy
2023-10-13 12:08:24 +00:00
parent ffd3736d84
commit e834d47577
3 changed files with 7 additions and 3 deletions

View File

@ -78,8 +78,8 @@ jobs:
fi
done;
# Deploy docs with version path
if [[ "${{ env.BUMP_VERSION }}" != "" ]] && [[ -d $GITHUB_WORKSPACE/docs/${comp} ]]; then
echo "Deploying specific version of ${comp} (${{ env.BUMP_VERSION }})"
if [[ "${{ env.BUMP_VERSION }}" != "" ]] && [[ -d $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }} ]]; then
echo "Deploying specific version of $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }} (${{ env.BUMP_VERSION }})"
cd $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }}
export GITHUB_REF_NAME=${{ env.BUMP_VERSION }}
deploy-docs

View File

@ -33,3 +33,7 @@ Please refer to instructions in [ESP-IDF](https://github.com/espressif/esp-idf)
* Brief introduction [README](components/esp_mqtt_cxx/README.md)
* Full html [documentation](https://docs.espressif.com/projects/esp-protocols/esp_mqtt_cxx/docs/latest/index.html)
### console_simple_init
* Brief introduction [README](components/console_simple_init/README.md)

View File

@ -10,7 +10,7 @@
int do_user_cmd(int argc, char **argv)
{
printf("Hello from user command\n");
printf("Hello from user command.\n");
return 0;
}