Skip to content

Commit 0916bd2

Browse files
fix
1 parent ddc076b commit 0916bd2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/documentation/checks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
source $GITHUB_ACTION_PATH/src/modules/errmsg.sh
2525
config=$(cat just.config.json)
2626

27-
local docs_config=$(echo "$config" | jq -r '.docs_config')
27+
docs_config=$(echo "$config" | jq -r '.docs_config')
2828
if ! echo "$config" | jq -e '.docs_config' > /dev/null; then
2929
local ERROR_MESSAGE=($(ErrorMessage "docs/checks.sh" "0118"))
3030
echo $ERROR_MESSAGE && exit 1

src/redirect/checks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
source $GITHUB_ACTION_PATH/src/modules/errmsg.sh
2525
config=$(cat just.config.json)
2626

27-
local redirect_config_=$(echo "$config" | jq -r '.redirect_config')
27+
redirect_config_=$(echo "$config" | jq -r '.redirect_config')
2828
if ! echo "$config" | jq -e '.redirect_config' > /dev/null; then
2929
local ERROR_MESSAGE=($(ErrorMessage "redirect/checks.sh" "0117"))
3030
echo $ERROR_MESSAGE && exit 1

src/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ elif [ "$TYPE" == "compressor" ]; then
127127
node $GITHUB_ACTION_PATH/src/compress.js "." && \
128128
echo $msg6
129129
elif [ "$TYPE" == "generator" ]; then
130-
HTML=$(cat "$GITHUB_ACTION_PATH/src/documentation/template/page.html")
131-
CSS=$(cat "$GITHUB_ACTION_PATH/src/documentation/template/page.css")
132-
JS=$(cat "$GITHUB_ACTION_PATH/src/documentation/template/page.js")
130+
HTML=$(cat "$GITHUB_ACTION_PATH/src/documentation/templates/page.html")
131+
CSS=$(cat "$GITHUB_ACTION_PATH/src/documentation/templates/page.css")
132+
JS=$(cat "$GITHUB_ACTION_PATH/src/documentation/templates/page.js")
133133
mkdir -p deploy && \
134134
installNodejs && \
135135
bash $GITHUB_ACTION_PATH/src/documentation/checks.sh && \

0 commit comments

Comments
 (0)