Skip to content

Commit e834d47

Browse files
fix(console): Fixed bump version check in publish-docs yml
1 parent ffd3736 commit e834d47

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/publish-docs-component.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ jobs:
7878
fi
7979
done;
8080
# Deploy docs with version path
81-
if [[ "${{ env.BUMP_VERSION }}" != "" ]] && [[ -d $GITHUB_WORKSPACE/docs/${comp} ]]; then
82-
echo "Deploying specific version of ${comp} (${{ env.BUMP_VERSION }})"
81+
if [[ "${{ env.BUMP_VERSION }}" != "" ]] && [[ -d $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }} ]]; then
82+
echo "Deploying specific version of $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }} (${{ env.BUMP_VERSION }})"
8383
cd $GITHUB_WORKSPACE/docs/${{ env.BUMP_COMPONENT }}
8484
export GITHUB_REF_NAME=${{ env.BUMP_VERSION }}
8585
deploy-docs

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ Please refer to instructions in [ESP-IDF](https://github.com/espressif/esp-idf)
3333

3434
* Brief introduction [README](components/esp_mqtt_cxx/README.md)
3535
* Full html [documentation](https://docs.espressif.com/projects/esp-protocols/esp_mqtt_cxx/docs/latest/index.html)
36+
37+
### console_simple_init
38+
39+
* Brief introduction [README](components/console_simple_init/README.md)

components/console_simple_init/examples/console_basic/main/console_basic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
int do_user_cmd(int argc, char **argv)
1212
{
13-
printf("Hello from user command\n");
13+
printf("Hello from user command.\n");
1414
return 0;
1515
}
1616

0 commit comments

Comments
 (0)