fix: invalid BASE_URL
All checks were successful
/ mirror (push) Successful in 4s
/ deploy (push) Successful in 34s

This commit is contained in:
ange 2024-11-29 06:17:06 +00:00
parent c94a6b6700
commit 55995bc0a7
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ jobs:
fi
REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})"
cat <<EOF >> .env
BASE_URL="$BASE_URL"
BASE_URL="$(printf '%s' "$BASE_URL" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-.' -)"
IMAGEAPP="$REGISTRY/$(printf '%s' "${{ gitea.repository }}:${{ gitea.ref_name }}" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-/:_' _)"
EOF
cat .env

View File

@ -7,6 +7,6 @@
</head>
<body>
<img src="static/logo.webp" alt="Icing logo">
<p>Hello, World!</p>
<p>Hello, World</p>
</body>
</html>