feat: wg.sh alias (#8)
All checks were successful
/ deploy (push) Successful in 43s

Reviewed-on: #8
This commit is contained in:
ange 2025-08-17 03:59:27 +00:00
parent 1f0c0ba4b1
commit a08805720c
3 changed files with 7 additions and 6 deletions

View File

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

View File

@ -1,3 +1,4 @@
termux.sh https://git.gmoker.com/ange/termux/raw/branch/main/install.sh termux.sh https://git.gmoker.com/ange/termux/raw/branch/main/install.sh
dotfiles https://git.gmoker.com/ange/dotfiles 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

View File

@ -3,11 +3,11 @@
{{end}} {{end}}
{{define "phone"}} {{define "phone"}}
<a href="tel:+33582951623" target="_blank" rel="noreferrer noopener">+33 5 82 95 16 23</a> <a href="tel:+33582951623">+33 5 82 95 16 23</a>
{{end}} {{end}}
{{define "email"}} {{define "email"}}
<a href="mailto:ange@yw5n.com" target="_blank" rel="noreferrer noopener">ange@yw5n.com</a> <a href="mailto:ange@yw5n.com">ange@yw5n.com</a>
{{end}} {{end}}
{{define "wa"}} {{define "wa"}}
@ -19,9 +19,9 @@
{{end}} {{end}}
{{define "pgp"}} {{define "pgp"}}
<a href="pgp.asc" target="_blank" rel="noreferrer noopener">pgp.asc</a> <a href="pgp.asc" target="_blank">pgp.asc</a>
{{end}} {{end}}
{{define "ssh"}} {{define "ssh"}}
<a href="ssh" target="_blank" rel="noreferrer noopener">ssh</a> <a href="ssh" target="_blank">ssh</a>
{{end}} {{end}}