From a08805720c5a4794026cc5d557c46ff15d7d8150 Mon Sep 17 00:00:00 2001 From: ange Date: Sun, 17 Aug 2025 03:59:27 +0000 Subject: [PATCH] feat: wg.sh alias (#8) Reviewed-on: https://git.gmoker.com/yw5n/yw5ncom/pulls/8 --- .gitea/workflows/deploy.yaml | 2 +- aliases.txt | 3 ++- tmpl/vars.tmpl | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 380f6be..1f60f1a 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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" diff --git a/aliases.txt b/aliases.txt index 4afd155..974b84c 100644 --- a/aliases.txt +++ b/aliases.txt @@ -1,3 +1,4 @@ termux.sh https://git.gmoker.com/ange/termux/raw/branch/main/install.sh dotfiles https://git.gmoker.com/ange/dotfiles -arch https://git.gmoker.com/ange/arch +arch https://git.gmoker.com/ange/archinstall +wg.sh https://git.gmoker.com/ange/wg/src/branch/main/install.sh diff --git a/tmpl/vars.tmpl b/tmpl/vars.tmpl index 97ca02e..d0067d2 100644 --- a/tmpl/vars.tmpl +++ b/tmpl/vars.tmpl @@ -3,11 +3,11 @@ {{end}} {{define "phone"}} -+33 5 82 95 16 23 ++33 5 82 95 16 23 {{end}} {{define "email"}} -ange@yw5n.com +ange@yw5n.com {{end}} {{define "wa"}} @@ -19,9 +19,9 @@ {{end}} {{define "pgp"}} -pgp.asc +pgp.asc {{end}} {{define "ssh"}} -ssh +ssh {{end}}