feat: add validation for production SSH credentials in deployment workflow
This commit is contained in:
@@ -357,7 +357,6 @@ jobs:
|
|||||||
if [ -z "${{ secrets.MONGO_URI }}" ]; then
|
if [ -z "${{ secrets.MONGO_URI }}" ]; then
|
||||||
echo "ERROR: MONGO_URI secret is missing or empty in Gitea repository secrets."
|
echo "ERROR: MONGO_URI secret is missing or empty in Gitea repository secrets."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
echo "MONGO_URI successfully loaded from Gitea secrets."
|
echo "MONGO_URI successfully loaded from Gitea secrets."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user