feat: wg.sh alias
Some checks failed
/ deploy (push) Failing after 0s

This commit is contained in:
ange 2025-08-17 03:38:47 +00:00
parent 1af1e594ba
commit 09dcfdac7a
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
3 changed files with 7 additions and 6 deletions

View file

@ -8,7 +8,7 @@ jobs:
- name: setup env
run: |
. ./.env || true
if [ "${{ gitea.ref_name }}" == prod ] && [ -n "$PROD_URL" ]; then
if [ "${{ gitea.ref_name }}" = prod ] && [ -n "$PROD_URL" ]; then
BASE_URL="$PROD_URL"
else
BASE_URL="${{ gitea.ref_name }}.$(tr / '\n' <<< "${{ gitea.repository }}" | tac | tr '\n' .)k8s.gmoker.com"