Skip to content
Snippets Groups Projects
Commit 9be2c52b authored by Tobias Kahlki's avatar Tobias Kahlki
Browse files

pipeline:build: Fix indentation of here-doc

parent 245e6537
No related branches found
No related tags found
1 merge request!366pipeline:build: Fix indentation of here-doc
Pipeline #91841 passed with stage
in 26 minutes and 48 seconds
...@@ -72,25 +72,25 @@ workflow: ...@@ -72,25 +72,25 @@ workflow:
echo "Warning: Install script missing, searched for '$SCRIPT'" echo "Warning: Install script missing, searched for '$SCRIPT'"
else else
if [ "$CI_PROJECT_VISIBILITY" = "public" ];then if [ "$CI_PROJECT_VISIBILITY" = "public" ];then
cat <<-EOF cat <<-EOF
============================== ==============================
Install the image: Install the image:
FNG="$FNG_INSTALL_URL" FNG="$FNG_INSTALL_URL"
curl --location "\$FNG" | sh -s -- --url="\$(dirname "\$FNG")" curl --location "\$FNG" | sh -s -- --url="\$(dirname "\$FNG")"
============================== ==============================
EOF EOF
else else
cat <<-EOF cat <<-EOF
============================== ==============================
Install the image: Install the image:
export GITLAB_TOKEN=<your_access_token> export GITLAB_TOKEN=<your_access_token>
FNG="$FNG_INSTALL_URL" FNG="$FNG_INSTALL_URL"
curl --location --header "PRIVATE-TOKEN: \$GITLAB_TOKEN" "\$FNG" \ curl --location --header "PRIVATE-TOKEN: \$GITLAB_TOKEN" "\$FNG" \
| sh -s -- --url="\$(dirname "\$FNG")" | sh -s -- --url="\$(dirname "\$FNG")"
============================== ==============================
EOF EOF
fi fi
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment