Commit 316112b2 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[GraphBot] Fix if syntax in inject_env.sh

parent 3b7332e6
Pipeline #65383 waiting for manual action with stages
......@@ -3,12 +3,12 @@
if [ -z "${SFTP_USER}" ]; then
echo "SFTP_USER not set, exiting!"
exit 1
else
fi
if [ -z "${SFTP_PASSWORD}" ]; then
echo "SFTP_PASSWORD not set, exiting!"
exit 1
else
fi
echo "Inject SFTP credentials..."
sed -i "s/SFTP_USER/$SFTP_USER/g" /entrypoint.sh
......
Markdown is supported
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