Skip to content

Commit e137dbc

Browse files
Warning for SVN secrets
1 parent 89884f1 commit e137dbc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

deploy.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ fi
4040
# Check if it's a dry-run first
4141
if $INPUT_DRY_RUN; then
4242
echo "ℹ︎ Dry run: No files will be committed to Subversion."
43+
44+
if [[ -z "$SVN_USERNAME" ]]; then
45+
echo "Warning: SVN_USERNAME is missing. The commit will fail if you attempt a real run."
46+
fi
47+
48+
if [[ -z "$SVN_PASSWORD" ]]; then
49+
echo "Warning: SVN_PASSWORD is missing. The commit will fail if you attempt a real run."
50+
fi
4351
else
4452
# If it's not a dry-run, check for SVN credentials
4553
if [[ -z "$SVN_USERNAME" ]]; then

0 commit comments

Comments
 (0)