Commit 40b251be authored by mrodzis's avatar mrodzis 🐸
Browse files

ci: add variables

parent 1916959b
Pipeline #188654 passed with stages
in 4 minutes and 58 seconds
......@@ -4,6 +4,7 @@ FILE="src/index.template.html"
if grep -q '"entrypoint": ""' "$FILE"; then
echo "No entry point update required."
echo "CONTINUE_BUILD=true" >> build.env
else
echo "Entry point has to be removed."
mkdir -p /tmp/this && cd /tmp/this || exit
......@@ -11,4 +12,5 @@ else
cd QViewer || exit
sed -i 's/"entrypoint": ".*"/"entrypoint": ""/' src/index.template.html
git add src/index.template.html && git commit -m "ci: remove entry point" && git push
echo "CONTINUE_BUILD=false" >> build.env
fi
\ No newline at end of file
......@@ -32,6 +32,9 @@ clean_up:
script:
- *git
- bash .ci-scripts/remove_entrypoint.sh
artifacts:
reports:
dotenv: build.env
build_test:
image: docker.gitlab.gwdg.de/subugoe/emo/qviewer/node:latest
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment