File tree 2 files changed +4
-1
lines changed 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 33
33
run : |
34
34
set -e
35
35
echo "Start."
36
+ SKIP_GENERATE_FEATURE_DOCS="true" bin/generate_readme
36
37
# Configure git and Push updates
37
38
git config --global user.email github-actions[bot]@users.noreply.github.com
38
39
git config --global user.name github-actions[bot]
41
42
git checkout -b $branch
42
43
message='Automated documentation update'
43
44
# Add / update and commit
45
+ git add README.md
44
46
git add */**/README.md
45
47
git commit -m 'Automated documentation update [skip ci]' || export NO_UPDATES=true
46
48
# Push
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ SCRIPT_PATH=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
8
8
BASE_PATH=$( cd -- " $( dirname -- " ${SCRIPT_PATH} " ) " & > /dev/null && pwd )
9
9
SOURCE_PATH=" $BASE_PATH /src"
10
10
TEMPLATE_PATH=" $BASE_PATH /.templates"
11
+ SKIP_GENERATE_FEATURE_DOCS=" ${SKIP_GENERATE_FEATURE_DOCS:- false} "
11
12
12
13
cd $BASE_PATH
13
14
@@ -18,7 +19,7 @@ join_array() {
18
19
}
19
20
20
21
# re-generate docs for all features (just to be sure)
21
- $SCRIPT_PATH /generate_docs
22
+ [ " $SKIP_GENERATE_FEATURE_DOCS " != " true " ] && $SCRIPT_PATH /generate_docs
22
23
23
24
featureList=
24
25
firstLine=" true"
You can’t perform that action at this time.
0 commit comments